我开发了一个ASP.NET MVC Code First Application,它是我在Azure上托管的 .

我尝试启用此处描述的连续集成流程 . - > http://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso-git/

含义:我有一个Visual Studio在线帐户,并使用GIT作为我的存储库 . 因此CI流程应该是:检查我的git中的内容,进行构建,将构建部署到我的测试环境 .

但是当我将代码签入GIT时,我一直遇到构建错误 . 在本地编译代码时,它工作正常,我可以手动部署到AZURE没有问题 . 如果我通过Visual Studio在线构建,我已添加了当前收到的构建错误消息

有任何想法吗?

错误信息:

`C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Deploy\Microsoft.Web.Publishing.MSDeploy.Common.targets (55): Web deployment task failed. (Cannot connect to the database 'BookwellDB'.  Learn more at: go.microsoft.com/fwlink/?LinkId=221672#ERROR_CANNOT_CONNECT_TO_DATABASE.)

Cannot connect to the database 'BookwellDB'.  Learn more at: go.microsoft.com/fwlink/?LinkId=221672#ERROR_CANNOT_CONNECT_TO_DATABASE.
Object of type 'dbFullSql' and path 'data source=(LocalDb)\v11.0;initial catalog=BookwellDB;integrated security=True' cannot be created.
Failed to connect to server .
Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=35606; handshake=191; 
The wait operation timed out
  Learn more at: go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXECUTING_METHOD.
Failed to connect to server .
Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=35606; handshake=191; 
The wait operation timed out`