Resolution suggestions needed
Closed this issue · 5 comments
Jane-Okuma commented
issue on .NET Framework 4.8. It doesn't happen on my box. Only after deployment
No service for type 'Microsoft.Extensions.Configuration.IConfiguration' has been registered.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.InvalidOperationException: No service for type 'Microsoft.Extensions.Configuration.IConfiguration' has been registered.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. --
Kielek commented
Could you please provide Minimal, Reproducible Example? It will be much easier to advice if we can test exact application. The good practice is to containerize such example.
Jane-Okuma commented
Thank you for replying. I can't. It's company source code
Kielek commented
I am not asking for sharing your proprietary code. What you should do is to create test application, without any internal stuff which can be shared with us. It should just mimic the problematic behavior.
RassK commented
@Jane-Okuma just in case checking, is it an old APS.NET or ASP.NET Core hosted on .NET Framework 4.8?
nrcventura commented
Closing as stale. It can be reopened when there are more details to reproduce the issue.