CruiseControl.Net 从控制台切换到服务

标签 cruisecontrol.net

我已经建立了一个 Cruisecontrol.net 构建服务器。在控制台模式下运行它可以正常工作,但是当尝试将它作为 Windows 服务运行时它不起作用。日志文件显示以下消息:

ThoughtWorks.CruiseControl.Core.CruiseControlException: 
Source control operation failed: No VSS database (srcsafe.ini) found.  
Use the SSDIR environment variable or run netsetup.

ssdir 是在 ccnet.config 中设置的,所以我在这里缺少什么?

最佳答案

不确定它是否适用,但是当我在控制台版本和服务版本之间切换时遇到问题时,我开始服务的用户的访问权限就下降了。

也许该服务没有访问 srcsafe.ini 文件的权限,而您的帐户则有(假设您使用它来运行控制台)。

抱歉,如果我离题了,只是想提供帮助!

关于CruiseControl.Net 从控制台切换到服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/323179/

相关文章:

cruisecontrol.net - 在开发人员/构建机器上部署 biztalk

cruisecontrol.net - "OutputPath property is not set"错误仅在 CCNET 中调用 MSBuild 时发生

continuous-integration - 使CC.NET本地触发器执行程序最简单的方法是什么?

.net - 我应该如何处理持续集成和 .NET Framework 版本

continuous-integration - CruiseControl.NET - 项目不存在

.net - MS StyleCop 和 CruiseControl.NET

.net - 使用 CruiseControl 将 SVN 头文件夹复制到 Release 文件夹

cruisecontrol.net - 使用 Ant for CruiseControl.NET 配置计划 block 时检测到未使用的节点

msbuild - 有人在那里使用MsBuild进行安装吗?

不同 SCM 中的 SVN Externals