将网站部署到运行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
我一直在尝试将我的网站部署在运行Windows Server 2012/IIS8的新VPS上.Visual Studio可以连接并创建目录结构然后失败.查看服务器日志,我收到以下链接中描述的错误 - 滚动到底部.
5/12/2011 11:31:41 AM) An error occurred when the request was processed on the remote computer.
The server experienced an issue processing the request. Contact the server administrator for more information.
This particular error does not give you much to go on, but the picture becomes much clearer if you look at the Web Deploy error log in Event Viewer.
User: DEPLOYSERVER\User1
Client IP: 192.168.0.203
Content-Type: application/msdeploy
Version: 8.0.0.0
MSDeploy.VersionMin: 7.1.600.0
MSDeploy.VersionMax: 7.1.1070.1
MSDeploy.Method: …Run Code Online (Sandbox Code Playgroud) 我正在使用Visual Studio 2010 Web部署工具将ASP.NET MVC3项目部署到Windows 2008 r2服务器.
一切都显得浏览我的最高级别的网站,但是当我浏览到的视图的区域内的网站该地区的本地布局风格丢失时才能正常工作.
在服务器上查看我可以看到区域的共享布局文件已部署到文件夹,<site>/<area>/views/shared但_ViewStart.cshtml 文件夹中缺少区域<site>/<area>/views/.据推测,这个文件指定了我的布局视图的来源,这是我的问题.
所以问题是关于我在部署阶段错误/缺少什么的想法,这个文件被忽略了?