Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't recognise site name parameter #16

Open
AndAShape opened this issue Nov 10, 2018 · 3 comments
Open

Doesn't recognise site name parameter #16

AndAShape opened this issue Nov 10, 2018 · 3 comments

Comments

@AndAShape
Copy link

AndAShape commented Nov 10, 2018

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
Copy link
Author

AndAShape commented Nov 10, 2018

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

@siburny
Copy link

siburny commented Aug 6, 2019

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

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

@gerneio
Copy link

gerneio commented Jan 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants