I deleted the VWDPort line from the *.sln file.
I added the "SlnRelativePath" line to the .sln file. The path was correct for the .PhysicalPath. I had installed Visual Studio Express in "C:/Documents and Settings/Gayle/My Documents/Visual Studio 2005". Because of this, the "Projects" directory was in the .../Visual Studio 2005/Websites/Projects/DNNWeb1 directory, but the DNNWeb1 website resided at the root directory, "C:". I have since recreated the DNNWeb1 website so that it now resides in the .../Visual Studio 2005/Websites directory. So, the line I added reads SlnRelativePath = "..\..\WebSites\DNNWeb1".
I also changed the "Project("{...}") line to have the "http" entries mentioned in your last post instead of the "C:\...\DNNWeb1\" entries.
But, when I use notepad to change the .sln file, then start VWD, it starts a "DNNWeb1 (2)", creates a corresponding directory under Projects, and the Solutions Explorer has "C:\...\DNNWeb1" for it's title. How can I change this?
In order to use the new .sln file, I have to open the new .sln file in the Projects/DNNWeb1 directory, then start the website. Now the Solutions Explorer will have http://localhost/DNNWeb1" for it's title. When I compile the default.aspx file, I get "The resource cannot be found. Server Error in "/" Application, The resource cannot be found". It also does NOT start asp.net.
I then created a virtual IIS directory through the IIS Manager and called it DNNWeb1 and pointed it to the WebSites/DNNWeb1 directory. Now when I open the .sln file, then compile the default.aspx file, I get "Server Application Not Available. The web application you are attempting to access on this web server is curretnly unavailable. . . ." The Event Viewer has the error message for asp.net as:
Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80070005 Access is denied.
Here's my current .sln file:
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Web Developer Express 2005
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "http://localhost/DNNWeb1/", "http://localhost/DNNWeb1/", "{4BCBE674-8E65-4C70-87E9-D33E8285B416}"
ProjectSection(WebsiteProperties) = preProject
Debug.AspNetCompiler.VirtualPath = "/DNNWeb1"
Debug.AspNetCompiler.PhysicalPath = "..\..\WebSites\DNNWeb1\"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\DNNWeb1\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/DNNWeb1"
Release.AspNetCompiler.PhysicalPath = "..\..\WebSites\DNNWeb1\"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\DNNWeb1\"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
DefaultWebSiteLanguage = "Visual Basic"
SlnRelativePath = "..\..\WebSites\DNNWeb1\"
EndProjectSection
EndProject