Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 663

WebDeploy cmdlet -- SetupSiteForPublish.ps1 Problem

$
0
0

Dear Experts :

I'm trying to use Web Deploy 2.0 cmdlet (SetupSiteForPublish.ps1)  to make IIS Default Web Site auto publish setting job.

(http://www.iis.net/learn/publish/using-web-deploy/powershell-scripts-for-automating-web-deploy-setup

But after running the script, the remote IIS site publish setting is not like when I manually click the IIS management UI ==> Default web site ==> Deploy.

 1. After manually click the IIS management UI ==>
     The tag "PublishURL" in publish setting file  is https://hostname:8172 and I can using vs2010 to publish application for Default web site using  "non-administrator" account

2. After running Web Deploy cmdlet (SetupSiteForPublish.ps1)  : 
     The tag "PublishURL" in publish setting file is http://hostname/  and I can't using vs2010 to publish application for Default web site using non-administrator account in this Publish URL

So, is there any other information about using this cmdlet, I have checked this page about parameters in this cmdlet.

But still can;t figure out this problem~

TKS

Albert


Viewing all articles
Browse latest Browse all 663

Trending Articles