当我使用Visual Studio 2013/update 4使用"发布为Azure WebJob"部署项目时,我在标题中收到错误.
将网站部署到运行IIS7的Windows 2008 r2服务器时遇到问题.我之前已将另一个站点部署到此服务器.Web部署正在连接并将我的文件复制到服务器,但我看到以下错误.
1 The 'Connection String' argument cannot be null or empty
2 Web deployment task failed.((20/07/2012 14:19:16) An error occurred when the request was processed on the remote computer.)
(20/07/2012 14:19:16) An error occurred when the request was processed on the remote computer. Could not find a part of the path 'C:\Users\Me\Documents\Visual Studio 2010\Projects\MySite\MySiteClient\obj\Release\AutoScripts\EFDbContext-Deployment_SchemaOnly.sql'. 0 0 MySiteClient
Run Code Online (Sandbox Code Playgroud)
我已验证该路径存在于我的本地计算机上.
我尝试使用web.config转换发布,并使用xdt:transform函数设置远程服务器字符串.
我还在Package/Publish SQL选项卡中显式设置了目标和源数据库的连接字符串,但是我不知道问题是什么.
有任何想法吗?
iis-7 connection-string visual-studio-2010 visual-studio webdeploy