Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
All,

I'm using windows 7, 64-bit operating system and IIS version 7.5.

I have set Enable 32- bit applications to "True" in IIS.
Given Read and Write permissions to IIS_IUSRS.
Still I'cant find the reason why am I getting 500.19 error.

While trying to create URL for my web site.
I'm getting the following error.
Please help

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 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File
Requested URL http://localhost:80/Work/ASPX/Join.aspx
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
Config Source

-1:
0:

Links and More Information This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

View more information »
Posted
Updated 30-Jan-13 0:49am
v3
Comments
Abhishek Pant 24-Jan-13 8:40am    
http://www.codeproject.com/Questions/390725/HTTP-Error-500-19-Internal-Server-Error

Hello Dee_Bee,

The message is saying that your configuration file is corrupt in some way. However it also says that it can't actually access the config file. So I'd ignore the original message about corruption/lack of validity as this is most likely just the effect of not being able to read the file due to a lack of authorization.

The reason it cannot read the config file is because the process running your web app does not have permission to access the file/directory. So you need to give the process running your web app those permissions.

The access rights should be fairly straightforward, i.e. at least Read, and, depending on your app, maybe Write.

Cheers,
Edo
 
Share this answer
 
Assign proper permissions on your web folder. best is to add read-only controls on Asp.net user if you cant find Asp.net user then select every one.

NOTE: If you have any Upload folder in your web then you must assign to full control, so that asp.net can easily add/update/delete upload file.
 
Share this answer
 

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

  Print Answers RSS


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