Click here to Skip to main content
15,887,379 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi any one can help me i want to set up asp.net application on the IIS 7 but the this error message display please what is the problem?

Thanks


XML
Error Summary
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  0x80070021
Config Error    Configuration section not allowed to be set below application
Config File \\?\C:\inetpub\wwwroot\Test\University\web.config
Requested URL   http://localhost:80/waterlooUniversity/waterlooUniversity
Physical Path   C:\inetpub\wwwroot\Test\University
Logon Method    Not yet determined
Logon User  Not yet determined
Config Source

   51:   <system.webServer>
   52:     <modules runAllManagedModulesForAllRequests="true"/>
   53:   </system.webServer>
Posted
Comments
R. Giskard Reventlov 11-May-12 18:38pm    
We don't do homework, especially not for Waterloo University; are you reading this Prof. Brown? :-)

Looks like the user account you're using for your app pool doesn't have rights to the web site directory, so it can't read config from there. Check the app pool and see what user it is configured to run as.

Check the directory and see if that user has appropriate rights to it. While you're at it, check the event log and see if IIS logged any more detailed diagnostic information there
 
Share this answer
 
It's HTTP 500 Internal error.

When the error is 500, that means it's an internal error, meaning internal to the service - the service threw an exception that was not caught.
Look in the Windows event logs on the service to see what went wrong.

Also, try:
- Go to menu Tools/Internet Options in your IE.
- Click on the Advanced tab, uncheck "Show friendly HTTP error messages" option and click Ok.
- Try accessing your web page again. Now you will see much more meaningful error message which will help you to troubleshoot the problem.

Other possibility:
There might be an issue in the way you have hosted your service. May be multiple config files?
 
Share this answer
 
v2

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