Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# WebService IIS7.5
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 24-Jan-13 1:08am
Dee_Bee3.5K
Edited 30-Jan-13 0:49am
v3
Comments
Abhishek Pant at 24-Jan-13 8:40am
   
http://www.codeproject.com/Questions/390725/HTTP-Error-500-19-Internal-Server-Error
Rate this: bad
good
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.
 
Cheers,
Edo
  Permalink  
Rate this: bad
good
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 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.
  Permalink  

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

  Print Answers RSS
0 Maciej Los 245
1 OriginalGriff 210
2 Manfred R. Bihy 190
3 CHill60 180
4 _Amy 155
0 OriginalGriff 7,445
1 Sergey Alexandrovich Kryukov 6,157
2 Maciej Los 3,774
3 Peter Leow 3,448
4 CHill60 2,702


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2014
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