如何解决"unable to get project file from web server"问题
2006-05-23 11:32
696 查看
首先申明,我这种方法只适合绑定了微软的VSS的情况下。
1、关闭Visual Studio IDE环境
在Visual Studio IDE 运行过程中,由于共享冲突,这下面步骤是无法操作的,因此首先要关闭IDE环境。
2、去除方案文件中的版本信息
在Visual Studio 2003环境下,方案文件是后缀为.Sln的文本文件。用记事本打开,在其中找到Global块下的GlobalSection(SourceCodeControl)节点,代码如下:
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "项目名称","项目名称\项目名称.csproj",
"{C7687560-4B36-47E3-AF33-748E76411259}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Global
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccLocalPath0 = .
CanCheckoutShared = false
SolutionUniqueID = {634C866F-3CEB-43A1-9C7F-D34A03F0A044}
SccProjectUniqueName1 =
项目名称\\项目名称.csproj
SccLocalPath1 = .
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection1 =
项目名称\\
EndGlobalSection
GlobalSection(SolutionConfiguration) = preSolution
其中GlobalSection(SourceCodeControl)块包含着VSS绑定信息,删除该块并保存。
3、去除项目文件中的版本信息
用记事本打开对应项目,在其中找到XML tag <CSHARP>,删除SccProjectName、SccLocalPath、SccAuxPath、SccProvider。代码如下 :
<CSHARP
ProjectType = "Local"
ProductVersion = "7.10.3077"
SchemaVersion = "2.0"
ProjectGuid = "{C7687560-4B36-47E3-AF33-748E76411259}"
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
>
4、删除所有后缀为.SCC的文件。
最后一步信息,就是删除项目目录下所有后缀为.SCC的文件。
其中每一目录下,都包含有文件vssver.scc
项目文件所在目录下,包含有文件mssccprj.scc
另外,还包括<Project Name>.csproj.vspscc 或 <Solution Name>.etp.vspscc文件
5、修改虚拟路径设置
在Visual Studio IDE打开项目sln文件,如果出现"Web Access Failed"提示框,在"different path"输入框中选择你项目所在目录即可。
1、关闭Visual Studio IDE环境
在Visual Studio IDE 运行过程中,由于共享冲突,这下面步骤是无法操作的,因此首先要关闭IDE环境。
2、去除方案文件中的版本信息
在Visual Studio 2003环境下,方案文件是后缀为.Sln的文本文件。用记事本打开,在其中找到Global块下的GlobalSection(SourceCodeControl)节点,代码如下:
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "项目名称","项目名称\项目名称.csproj",
"{C7687560-4B36-47E3-AF33-748E76411259}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Global
GlobalSection(SourceCodeControl) = preSolution
SccNumberOfProjects = 2
SccLocalPath0 = .
CanCheckoutShared = false
SolutionUniqueID = {634C866F-3CEB-43A1-9C7F-D34A03F0A044}
SccProjectUniqueName1 =
项目名称\\项目名称.csproj
SccLocalPath1 = .
CanCheckoutShared = false
SccProjectFilePathRelativizedFromConnection1 =
项目名称\\
EndGlobalSection
GlobalSection(SolutionConfiguration) = preSolution
其中GlobalSection(SourceCodeControl)块包含着VSS绑定信息,删除该块并保存。
3、去除项目文件中的版本信息
用记事本打开对应项目,在其中找到XML tag <CSHARP>,删除SccProjectName、SccLocalPath、SccAuxPath、SccProvider。代码如下 :
<CSHARP
ProjectType = "Local"
ProductVersion = "7.10.3077"
SchemaVersion = "2.0"
ProjectGuid = "{C7687560-4B36-47E3-AF33-748E76411259}"
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
SccProjectName = "SAK"
SccLocalPath = "SAK"
SccAuxPath = "SAK"
SccProvider = "SAK"
>
4、删除所有后缀为.SCC的文件。
最后一步信息,就是删除项目目录下所有后缀为.SCC的文件。
其中每一目录下,都包含有文件vssver.scc
项目文件所在目录下,包含有文件mssccprj.scc
另外,还包括<Project Name>.csproj.vspscc 或 <Solution Name>.etp.vspscc文件
5、修改虚拟路径设置
在Visual Studio IDE打开项目sln文件,如果出现"Web Access Failed"提示框,在"different path"输入框中选择你项目所在目录即可。
相关文章推荐
- 解决unable to get the project file from the web server
- Unable to get the project from the web server. 错误的解决方法
- Unable to get the project ile from the web server错误的解决方法
- Unable to get the project ile from the web server的解决方法
- Unable to get the project ile from the web server错误的解决方法
- Unable to get the project file from the Web Server(in .NET 2005 IDE)
- [导入]Unable to get the project ile from the web server错误的解决方法
- Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd的解决方法
- "Unable to get image data from canvas because the canvas has been tainted by cross-origin data"问题产生原因及解决办法
- Unable to get view server version from device emulator-5554 解决办法
- "Unable to get buffer of resource asset file"问题的解决
- cygwin安装问题“unable to get setup.ini from<....>”的解决办法
- NFS启动根文件系统,遇到Root-NFS: Unable to get mountd port number from server, using default问题
- github安装问题解决"Unable to retrieve your user info from the server"
- 出现Unable to launch Visual Studio's Localhost Web Server问题解决
- 解决Missing forwarded port for XXX,Unable to get view server version from deviceXX
- 问题解决:Unable to load configuration. - bean - jar:file:/D:/Tomcat-6.0.13/webapps/teabank/WEB-INF/lib/struts2-core-2.1.8.1.jar!/str
- Unable to get view server version from device emulator-5554 解决办法
- Unable to get view server version from device emulator-5554 解决办法
- The required Server component failed to start so Tomcat is unable to start问题解决