views:

198

answers:

2

After setting up an ASP.NET website in IIS7 I get an Internal Server Error (500.19) that says:
'Unrecognized configuration path'.

What are possible causes of this error?

(Setting up other ASP.NET websites works OK, but for a particular website it does not work and I cannot figure out the difference.)


Detailed error description:

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: 0x80070002
Config Error: Unrecognized configuration path 'MACHINE/WEBROOT/APPHOST/...'
Config File:
Requested URL: http://...:80/
Physical Path:
Logon Method: Not yet determined
Logon User: Not yet determined
Config Source:
-1:
0:

A: 

I got the same error but then I managed to get the website working by removing it completely from IIS and adding it again, with a different name.

But I still don't know what was in the background.

CainKellye
A: 

I found out it depended on the length of the name of the website. Making the name shorter made it work (making it longer made it crash).

Ole Lynge