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.
- Double-click Properties for your WAP
- Click Package/Publish SQL
- Click a database in Database Entries
- Scroll down and provide a valid connection string in Database Entry Details > Connection string for destination database
精彩评论