You cannot get a Web project from source code control if the Web project is deleted from the Web server (317622)
The information in this article applies to:
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual SourceSafe, 32-bit, for Windows 6.0
This article was previously published under Q317622 SYMPTOMS
If a Web project is deleted from the Web server, you cannot use the Microsoft Visual Studio .NET IDE to get the latest version of the project.
You see the solution in Solution Explorer, but the solution does not contain any projects. When you try to perform a get on the solution to update this file, the solution does not get the project.
If you reload the project file, you receive the same error message that you received when you first tried to open the project after the file was deleted on the Web server.CAUSEWhen you open the Web project from source code control, you are prompted to set a Web location where the project resides. During that step, that information is passed to Microsoft Internet Information Services (IIS) to create this folder on the Web server as a virtual root. Because you have deleted the project file at this location, the project file and folder no longer exist.RESOLUTIONTo resolve this behavior, follow these steps: - Close the solution in Solution Explorer.
- On the File menu, point to Source Control, and then click Open From Source Control.
- 3. Open the Visual SourceSafe Project that you first created. For example, open OurWebApp. A dialog box appears that asks if you want to merge, overwrite, or replace the items locally. In the dialog box, click Replace.
You now have a fresh copy of the latest files from the Web server.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 1/6/2005 |
---|
Keywords: | kbprb KB317622 kbAudDeveloper |
---|
|