Tech blog

Wednesday, July 13, 2005

webinfo files

When trying to load a VS.NET web project, you get this error:
"Unable to open web project '~name~'. The file path 'C:\InetPub\wwwroot\~name~' does not correspond to the URL 'http://localhost:/~name~'. The two need to map to the same server location. HTTP Error 500: Internal Server Error"

Make sure there is a webinfo file named ~name~.csproj.webinfo:

<VisualStudioUNCWeb>
<Web URLPath = "http://localhost/Keith/Keith.csproj" />
</ VisualStudioUNCWeb>

0 Comments:

Post a Comment

<< Home