MSDeployAllTheThings icon indicating copy to clipboard operation
MSDeployAllTheThings copied to clipboard

Doesn't recognise site name parameter

Open AndAShape opened this issue 6 years ago • 3 comments

I have this...

C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='D:\a\1\a\package.zip' -dest:auto,computerName='https://myserver:8172/msdeploy.axd',userName='***',password='***',authType='ntlm',includeAcls='False' -allowUntrusted -verbose -setParam:name='IIS Web Application Name',value='sitename'

And it says...

##[error]System.Management.Automation.RemoteException: Error: Source does not support parameter called 'IIS Web Application Name'. Must be one of ().

AndAShape avatar Nov 10 '18 21:11 AndAShape

I removed -setParam:name='IIS Web Application Name',value='sitename' and set the "Destination Provider" field to contentPath='sitename'

AndAShape avatar Nov 10 '18 23:11 AndAShape

FYI you can specify site name in the Destination Computer field:

https://<siteaddress>:8172/MSDeploy.axd?site=<sitename>

siburny avatar Aug 06 '19 16:08 siburny

The fix @AndAShape shared (Dest provder w/ content path) worked for me.

gerneio avatar Jan 05 '23 19:01 gerneio