Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolution suggestions needed #3897

Open
Jane-Okuma opened this issue Dec 17, 2024 · 4 comments
Open

Resolution suggestions needed #3897

Jane-Okuma opened this issue Dec 17, 2024 · 4 comments

Comments

@Jane-Okuma
Copy link

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
Copy link
Contributor

Kielek commented Dec 18, 2024

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
Copy link
Author

Thank you for replying. I can't. It's company source code

@Kielek
Copy link
Contributor

Kielek commented Dec 19, 2024

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
Copy link
Contributor

RassK commented Dec 19, 2024

@Jane-Okuma just in case checking, is it an old APS.NET or ASP.NET Core hosted on .NET Framework 4.8?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants