SVN Could not open the requested SVN filesystem解决办法

如果TortoiseSVN的版本过高,而SVN服务器的版本过低有可能造成,创建的资源库无法访问(SVN Could not open the requested SVN filesystem)。因此版本要相符。当然为避免上面的问题也可以直接用命令来创建,在命令行窗口,转到svn的bin下,svnadmin create d:/svn/repository

或者是由于在配置apache的httpd.conf文件出错

Exception: Unable to load the output from svn: <?xml version="1.0"?> 首先要看ccnet.config中配置是否正确

<sourcecontrol type="svn">
<trunkUrl>http://10.2.3.23:81/svn/StartKit</trunkUrl>
<executable>C:/Program Files (x86)/VisualSVN Server/bin/svn.exe</executable>//该路径是安装svn服务器的bin目录
<username>wxm</username>
<password>weixiaomei</password>
</sourcecontrol>
<tasks>
<msbuild>
<executable>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable>
<workingDirectory>C:\Program Files (x86)\CruiseControl.NET\server\StartKit\WorkingDirectory</workingDirectory>
<projectFile>StartKit.sln</projectFile>
<buildArgs></buildArgs>
<logger>C:\Program Files (x86)\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
<targets>Build</targets>
</msbuild>
</tasks>

首先ccnet要将版本库中代码,也就是<trunkUrl>http://10.2.3.23:81/svn/StartKit</trunkUrl>中的代码拷贝到<workingDirectory>C:\Program Files (x86)\CruiseControl.NET\server\StartKit\WorkingDirectory</workingDirectory>中,要编译的项目即<projectFile>StartKit.sln</projectFile>

所以目前一定要保证在代码库拷贝出来的有该项目,若果有该项目,则一定是拷贝过程错误,如果svn服务器无法访问(TortoiseSVN的版本过高,而SVN服务器的版本过低有可能造成)则要重新安装版本,使TortoiseSVN和svn服务器版本一致,要么就是apche配置错误,因为安装apche后才能以web方式访问svn(即用http形式访问)

 

如果配置都没错那就要改换版本,提供VisualSVN Server版本2.5.6,CruiseControl.NET-1.4.4http://sourceforge.net/projects/ccnet/files/CruiseControl.NET%20Releases/CruiseControl.NET%201.4.4

参考:http://hi.baidu.com/handsomeguy/item/b9cc5e48f7ec120fc11613b5

http://wowking.blog.51cto.com/1638252/940070

http://www.uml.org.cn/jchgj/200904082.asp

原文地址:https://www.cnblogs.com/GreenGrass/p/2719480.html