HTTP Error 500.19 - Internal Server Error

by graham

When adding a site to IIS 7 (simple html page in a location outside of inetpub) I got the following error:

Server Error

HTTP Error 500.19 - Internal Server Error
Description: The requested page cannot be accessed because the related configuration data for the page is invalid.
Error Code: 0x80070005
Notification: BeginRequest
Module: IIS Web Core
Requested URL: http://localhost:80/ProductsService/ProductsService.svc
Physical Path: C:\Test\ProductsService\ProductsService\ProductsService.svc
Logon User: Not yet determined
Logon Method: Not yet determined
Handler: Not yet determined
Config Error: Cannot read configuration file
Config File: \\?\C:\Test\ProductsService\ProductsService\web.config
Config Source:
   -1:
    0:

You can fix this by changing the security settings of the folder the file was in so IIS an access it, adding IIS_IUSRS and Users to the permissions.

Comments are closed