© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
Ownix

❔ "The server has not been started or no web application was configured."

I have two test classes that inherit from
 ITestFixture<WebAppFactory>
 ITestFixture<WebAppFactory>
just like you see in the Microsoft integration testing docs. When I run ALL tests, they run in parallel by default, I get an error. Or sometimes I get the error "System.InvalidOperationException : The entry point exited without ever building an IHost.".

However, if I run each test class at a time, the tests pass.

Google says this error usually means something else went wrong during start up, I am using the Serilog CreateBootStrap() logger, is there a way to get some better logging or has anyone had this issue and seen this before?
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ System.InvalidOperationException: No database provide has been configured for this DbContext
C#CC# / help
14mo ago
❔ web hosting error Server Error in '' Application.
C#CC# / help
4y ago