Click here to Skip to main content
12,693,094 members (32,261 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# WebService IIS7.5

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


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 24-Jan-13 2:08am
Updated 30-Jan-13 1:49am
Abhishek Pant 24-Jan-13 8:40am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Assign proper permissions on your web folder. best is to add read-only controls on user if you cant find user then select every one.

NOTE: If you have any Upload folder in your web then you must assign to full control, so that 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100