Description
Sayed, I hope you're seeing these updates...
Trying now for several days to get this to work, have run Google into the ground, and still getting nowhere. Maybe I'm just missing something important.
When I look at the command that gets run from Publish-Interactive.ps1, it's like this (redacted as needed)
C:\temp\MyService>"C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:archiveDir="C:\Users\RMAGRU1\AppData\Local\Temp\MyService_zip" -dest:auto,includeAcls='False',ComputerName='https://targetServer:8172/msdeploy.axd?site=Default Web Site?site=Default Web Site/MyService',Username=mydomain\myuser,Password=mypassword,AuthType='basic' -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtens1\AppData\Local\Temp\MyService_zip\SetParameters.xml" -skip:objectName=dirPath,absolutePath="Deploy" -skip:objectName=filePath,absolutePath=web...config -skip:objectName=dirPath,absolutePath=
ion -setParamFile:"C:\Users\RMAGRU
Package -skip:objectName=filePath,absolutePath=._.wpp.targets$ -allowUntrusted -enableRule:DoNotDelete
The site doesn't exist on the server, but "Default Web Site" sure does. I have full rights to add sites, remote in, etc, from the user name I'm specifying, but the 'MyService' site doesn't exist.
I notice above that we get TWO "?site" parameters onto the .axd command line. I'm assuming that since "MyService" doesn't exist, that's causing the problem? It should just be going to "Default Web Site", but it seems like the IIS Web Application name is being appended to that, and thus breaking it. I have managed to get msdeploy to work from a regular command prompt from the same machine but that's using the dump from Visual Studio of its msdeploy.exe, using the manifest rather than the archive source.
I hope you have some thoughts, because I'm feeling like I'm dealing with a magic incantation instead of a piece of software, and I can't get the spell right.
Activity