Forum Discussion

CYC_Flexi's avatar
2 months ago

Swagger Unable To Create Component in ASP.NET Zero .Net 7

I am currently running an ABP solution in .Net. The solution can be built and executed without problem, but when it comes to Swagger page, I received an internal server error as such:

**HandlerException: Can't create component 'Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider_e2489259-50be-454a-adec-747b2ac808ee' as it has dependencies to be satisfied.

'Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider_e2489259-50be-454a-adec-747b2ac808ee' is waiting for the following dependencies:
- Service 'Microsoft.Extensions.DependencyInjection.IServiceProviderIsService' which was not registered.**

I had checked included libraries and extensions, and already have all related items included. May I know what step I am missing?


Attached below if the error received.

No RepliesBe the first to reply