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.
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
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Requested URL http://localhost:80/Work/ASPX/Join.aspx
Logon Method Not yet determined
Logon User Not yet determined
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 »
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.
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.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)