我正在尝试让Kentico Continuous Integration运行,这是我CI流程中的一个步骤。但是,我的部署脚本运行时遇到以下错误:
Running Kentico Continuous Integration...
Continuous Integration Console
Kentico Software
System.Exception: Login failed for user 'MACHINE-NAME\ci-runner-user'.
at CMS.DataEngine.CMSApplication.ReportApplicationError(String message)
at CMS.DataEngine.CMSApplication.Init()
at CMS.ContinuousIntegration.ConsoleApp.Program.InitKenticoApplication(String webAppPhysicalPath)
at CMS.ContinuousIntegration.ConsoleApp.Program.Deserialize(String webAppPhysicalPath)
at CMS.ContinuousIntegration.ConsoleApp.Program.Main(String[] args)
如何启用部署脚本运行的本地用户以成功执行~\CMS\bin\ContintinuousIntegration.exe -r
?
答案 0 :(得分:0)
我最初的想法是,您正在web.config中使用集成安全性-确保您提到的用户对Kentico DB具有SQL访问权限
答案 1 :(得分:0)
您需要允许PowerShell ISE不受限制地运行。为此,请按照以下说明进行操作: