Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have save my asp project at location
C:\inetpub\wwwroot\ourtechroom


Then when I runs
localhost/ourtechroom
on browser I got below error.
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information:
Module	   IIS Web Core
Notification	   BeginRequest
Handler	   Not yet determined
Error Code	   0x8007000d
Config Error	   
Config File	   \\?\C:\inetpub\wwwroot\ourtechroom\web.config
Requested URL	   http://localhost:80/ourtechroom
Physical Path	   C:\inetpub\wwwroot\ourtechroom
Logon Method	   Not yet determined
Logon User	   Not yet determined


Help Me I am in big trouble?

My web.config looks like this:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <handlers>
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
      </handlers>
      <aspNetCore processPath="dotnet" arguments=".\OurTechRoom.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
    </system.webServer>
  </location>
</configuration>
<!--ProjectGuid: a4eff15f-7cc7-44e3-9939-904c7255382d-->


What I have tried:

I have tried by just creating index.html inside wwwroot folder of Inetpub then i am able to access this file via localhost/index.html but when trying to access above url ie

http://localhost/ourtechroom[^]

I am getting above error.

I have also try resolve the problem by the solution enlisted in below sites:
https://support.microsoft.com/en-gb/help/942055/http-error-500-19-error-when-you-open-an-iis-7-0-webpage
[^]
Posted
Updated 3-Feb-19 19:35pm
v2

Have you tried to resolve your issue by implementing solutions from: c# - 500.19 - Internal Server Error - The requested page cannot be accessed because the related configuration data for the page is invalid - Stack Overflow[^]

Note: there's few of them!

In my case when compilation is finished without errors and i see such of error, i'm opening my project via Browser Link[^].
 
Share this answer
 
Comments
[no name] 3-Feb-19 12:28pm    
The link you have provided is about :
Config Error : "Error in Permission"
And I am not having that error
Ok I solved the problem by installing
asp.net 2.1 core module
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900