timhuang
Mon Feb 09 03:07:02 CST 2004
Hello,
Thanks for your reply. I tried on my side, however, I am not able to
reproduce the problem on a Windows XP system. Here is what I did:
1. I built a new Windows XP system with VS .NET 2003. The default web site
is c:\inetpub\wwwroot.
2. Create a new ASP .NET Web Application named WebProject.
3. Go to My Documents -> Visual Studio Projects -> WebProject, open the
WebProject.sln file and change
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebProject",
"
http://localhost/WebProject\WebProject.vbproj",
"{10D5BABA-0E30-45AB-9FBC-35A2719B5930}"
TO:
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebProject",
"
http://localhost/WebProject.vbproj",
"{10D5BABA-0E30-45AB-9FBC-35A2719B5930}"
4. Open "Control Panel" -> "Administrative Tools" -> "Internet Information
Services (IIS) Manager", right-click "Default Web Site", choose
"Properties", go to "Home Directory" panel, browse "Local path" to
c:\Inetpub\wwwroot\WebProject, click "OK" buttons to save the setting.
5. Open the WebProject.sln and the project is opened properly.
Did you perform the same steps? Did you mean that wwwroot\WebProject folder
was created and somehow deleted after change the home directory of default
web site? If so, I recommend you use FileMon to monitor the file access to
find out which application deleted the directories. You can download
FileMon at the following link:
http://www.sysinternals.com/ntw2k/source/filemon.shtml
I am standing by for your result.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.