Last post Jun 25, 2013 03:56 AM by Techpranav
Jun 24, 2013 05:45 AM|Techpranav|LINK
I have created web application in VS 2005 & published it by keeping checked the option "allow this precompiled site to be updated".
I have created virtual directory & map with physical path "C:\Users\MyPC\Documents\Visual Studio 2005\Projects\TestProject\PrecompiledWeb\TestProject". &
I created application pool for framework v2.0 & "converted to application"
But while browsing the page it show error :
"HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid."
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 : .../web.config
Requested URL : http://localhost:80/testpre/Login.aspx (testpre is alias name given for project in iis)
thx in advance
Jun 24, 2013 08:52 AM|Ruchira|LINK
Check the below resolved thread. You should give the appropriate permission to IIS_IUSRS
If it doesn't resolve your problem, you would need to check the specific scenario in the below links and apply the solution
Please 'Mark as Answer' if this post helps you
Jun 25, 2013 01:41 AM|Techpranav|LINK
Ruchira thx for replay...
i gave the appropriate permission as suggested by the links you gave...but now another problem is occurred...i can browse only the page now but DB connection getting failure...it shows the following error while logging in the Login.aspx :
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Cannot find table 0."
same application working properly in VS 2005...
Jun 25, 2013 02:46 AM|Ruchira|LINK
This exception is totally different from the original question you asked. Please start a new thread for you new questions. And mark the answers which helped you since it will help for future readers.
Jun 25, 2013 03:56 AM|Techpranav|LINK
problem is solved...
i set Anonymus Authentication in IIS Authentication enabled while all other disabled...
in Advace setting of application pool created by me :
- Managed PipeLine : Local System
- Load User Profile : True
in Default website -> Basic setting -> connect as -> select Application User(pass-through authentication)
thx for the help...