开发者

Null argument error on MSDeploy

I am getting the following error - code “E开发者_如何学运维rror: The ‘Connection String’ argument cannot be null or empty.” when running the MSDeploy. When I examined the SetParameters.xml file I noticed the following parameter settings.

<setParameter name="ApplicationServices-Deployment Connection String" value="" /> 
<setParameter name="MusicStoreEntities-Deployment Connection String" value="" /> 

I am not the one who developed this package and I am not sure what the arguments should be.


This is happening because you are not providing a value for the destination connection string for a database, even though you are deploying it to a remote server.

  1. Double-click Properties for your WAP
  2. Click Package/Publish SQL
  3. Click a database in Database Entries
  4. Scroll down and provide a valid connection string in Database Entry Details > Connection string for destination database
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜