Não é possível inicializar o CommonStructureAdapter: o HttpContext.Current.ApplicationInstance não está configurado. Método ...

Não é possível inicializar o CommonStructureAdapter: o HttpContext.Current.ApplicationInstance não está configurado. Método IWarehouseAdapter.Initialize() deve ser chamado no thread de solicitação da web.