Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS 7.5 HTTP 500.19 Internal Server Error Config invalid

Tags:

iis-7.5

I am using Windows 2008 R2 with IIS 7.5 and have mapped the source of my website to a network drive. When I do, the below error occurs. When pointing to the local c: drive the website works.

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    Unknown
Handler Not yet determined
Error Code  0x80070003
Config Error    Cannot read configuration file
Config File \\?\H:\ExcelAutomation\1.0\src\docs\web.config
Requested URL   http://vmwws085381.msad.ms.com:80/index.html
Physical Path   
Logon Method    Not yet determined
Logon User  Not yet determined

Config Source
   -1: 
    0: 
like image 746
Kit Avatar asked Sep 03 '13 17:09

Kit


People also ask

How do you fix HTTP Error 500.19 Internal server Error the requested page Cannot be accessed because the related configuration data for the page is invalid?

Solution. Open IIS Manager, select root node( the hosting server), in the middle panel double click Feature Delegation. In right panel select Custom Site Delegation..., In upper part of middle panel, click the drop down list and select your site.

Where is the IIS config file?

The configuration files for IIS 7 and later are located in your %WinDir%\System32\Inetsrv\Config folder, and the primary configuration files are: ApplicationHost. config - This configuration file stores the settings for all your Web sites and applications.

What is ApplicationHost config file?

ApplicationHost. config is the root file of the configuration system when you are using IIS 7 and above. It includes definitions of all sites, applications, virtual directories and application pools, as well as global defaults for the web server settings (similar to machine.


2 Answers

The solution for me was to open up IIS, click on my site, and under Advanced Settings change the physical path to the network share like \\server\share\.. instead of using the mapped drive.

Original source that helped me arrive to this solution is here: http://forums.iis.net/t/1157959.aspx

like image 107
Kit Avatar answered Sep 23 '22 06:09

Kit


Another cause is not having the URL Rewrite Module installed if your web-app references this in the associated Web.config file – this is detailed in this Stack Overflow Question

like image 36
Kevin Swann Avatar answered Sep 25 '22 06:09

Kevin Swann