CreateInstance did not work while running search index (HttpContext.Server is null)