Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Cannot read configuration file (web.config) #2721


User avatar
0
dedrek created

I'm using VS2017 and downloaded a .NET Core project with Module Zero. When I try to debug the Host and MVC project I get the following error:

Unable to start [LocalPath].Host.exe The webserver request failed with status code 500, Internal Server Error. The full response has been written to [LocalPath].html.

When I open the html file it says:

Config Error Cannot read configuration file Config File \?\D:\Repositories\Github\module-zero-core-template\aspnet-core\src[ProjectName].Web.Host\web.config

Any idea how I can fix this?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    What happens when you close the solution, open it again and try to run ?