msdeploy

MSDeploy triggers 401 Access denied error when trying to synch a site.

I try to push/sync a IIS Site from a Win2003 Server to another. This is my command: msdeploy -verb:sync -source:metakey=lm/w3svc/68512112 -dest:metakey=lm/w3svc/68512112,computername=backup-09,username=Administrator,password=PASSWORD -whatif > msdeploysync.log I also tried the following msdeploy -verb:sync -source:metakey=lm/w3svc/6...

Does MSDeploy support website and database upgrades?

I've just been reading about MSDeploy, the new website deployment tool from Microsoft. I'm developing an installer for a webapplication and a webservice to be used for our off-the-shelf product. I have a couple of questions that I couldn't find obvious answers to. Does MSDeploy have robust support for upgrading websites after the initi...

Is MSDeploy "friendly" enough, or can it be wrapped up in an MSI file

In your opinion, are MSDeploy packages a good option for giving to an end user to install a webapplication on their system. How does it compare with, say, the experience of using an MSI file to install a web app? Has anybody tried wrapping up an MSDeploy package inside an MSI package? Would it work? ...

Web.Config Transformation in VS2010

I am working in the web.config transformation file concept. I have three web config. One is Staging, Production, Deployment. I have different connection information for these three. Web.Config: <connectionStrings> <add name="MyGallery" connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Devel...

MSDeploy not working ...

Hi, I'm trying to deploy a .NET 4.0 project with Visual Studio 2010 using MSDeploy; however when I right-click on the project, what shows up is the legacy context menu for Visual Studio 2008 ('Publish Website', 'Build Website' etc.) in lieu of the VS 2010 context menu ('Publish', 'Build' etc.). I'm running Windows Vista and IIS 7.0. Id...

msdeploy IIS 6 to 7 migration issue

I am trying to view the dependencies of my website on IIS 6.0 running on windows server 2003. When I type the following command, msdeploy -verb:getDependencies -source:metakey=lm/w3svc/1 I got the following error: C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:getDependencies -source :metakey=lm/w3svc/1 Error: Object of t...

runCommand provider in msdeploy's Manifest.xml file

I am trying to include running a batch script (more, provided I can figure this out) as part of the deployment process via msdeploy by using the runCommand provider in the manifest file. This is what my manifest file looks like <MSDeploy.iisApp> <iisapp path="Default Web Site/SiteName" /> <dbfullSql path="msdeploy.config" transact...

MS Web Deploy + Web Deploy Remote Service, How is it secured

I'm trying to automate deploying a site to our production server after a build. The production server is hosted by some third party provider and is not on our LAN. If I: Install Web Deploy on our build machine (source) Install Web Deploy on the production machine (destination) Install the additional Web Deploy Remote Service on the p...

How do I create an msdeploy manifest that includes destination properties like username and password?

After a week of struggling I just got the msdeploy handler up on IIS7 (cursing the back-ass documentation thereof). So know I have a simple sync "working" but I'd like to move as much of the -sync parameters in a manifest rather than burying it in my MSBUILD task. Here is the deploy command line: msdeploy.exe -verb:sync -source:pac...

Opinions on MSDeploy

You know, the next "big" and "enterprisey" thing from Microsoft. Is it just me, or is it really hardly for humans? Main highlights are (IMO): Absolutely cryptic syntax (-skip:objectName=filePath,absolutePath=App_Offline.* just for skipping App_Offline.html) Manifest as an after thought Lack of thorough documentation Not a word about...

How do I use Visual Studio 2010 RC 'one click publish' from the command line?

I've got VS 2010 RC running and have two publish profiles set up in it, one for publishing to the staging server and one for the developer test box. It works great but I want to put the deployment to our dev server into our build server and run it on check-in. I'm looking for an MS Build target or a command I can call via MS Build that ...

Add a *new* DestinationBinding for a site to a package using MSDeploy

I'm using a staging model with MSDeploy to deploy a couple of our sites to a web farm. The sites are configured in IIS on the staging boxes only, and then MSDeploy is used to build the target web servers from scratch. The staging box uses its own bindings (ie no header entries, different IPs/ports and no host headers) for the sites tha...

How do I parse the output of msdeploy and fail a TeamCity build if there are errors?

I'm using msdeploy.exe run from TeamCity for deploying ASP.Net projects to staging servers but if suffers severely from always returning a 0 status on exit, even when it raises several errors. This means that a bad deploy does not fail and all looks OK. So I need to parse the output and have that raise an error, is there an easy way to ...

msdeploy dbfullsql timeout

Is there any way to deal with msdeploy dbsqlfull timeout? It looks looks like commandTimeout (http://forums.iis.net/p/1160282/1935826.aspx#1935826) is still not implemented or am I missing something? ...

How do you use MS Deploy with VS2010?

I have VS2010, and I've opened up a web site. How can I now use MS Deploy to deploy to a zip file, which can be installed in a remote IIS site? I've searched through all the menu options, but can't seem to find out where to get started. Thanks in advance ...

MSDeploy migrate only configuration from IIS 6 to 7

We have 19 websites, many of which have many "virtual" directories, on a IIS 6 server. I am trying to migrate the whole thing over to IIS 7 on a different server. Following the instructions on http://learn.iis.net/page.aspx/427/migrate-a-web-site-from-iis-60-to-iis-70/ I attempted the following command line execution: msdeploy -verb:s...

msbuild target package not found

I want to package my VS2010 web application project ready for deployment with msdeploy. On development machine I can do this using: MSBuild.exe "C:\path\to\WebApp.csproj" /target:package But on my build server I get this error: error MSB4057: The target "package" does not exist in the project. What am I missing on the build server? ...

Getting MSDeploy working on our build/integration server - Is an MSBuild upgrade necessary?

We have what I think is a fairly standard build process: 1. Developer: Check in code 2. Build: Polls repo, sees change, and kicks off build that: 3. Build: Updates from repo, Builds w/ MSBuild, Runs unit tests w/ nunit, 4. Build: creates installer package Our security team allows us to pull from the build server, but does not allow the...

How can I get TFS2010 to run MSDEPLOY for me through MSBUILD?

There is an excellent PDC talk available here from Vishal Joshi which describes the new MSDEPLOY features in Visual Studio 2010 - as well as how to deploy an application within TFS. (There's also a great talk from Scott Hanselman but he doesn't go into TFS). You can use MSBUILD within TFS2010 to call through to MSDEPLOY to deploy your p...

How do I execute a command on a successful build on TFS2010?

I've got TFS2010 up and running and building a webdeploy deployment package. Into my directory: C:\TFS-BUILDS\Example Build\Example Build_20100414.44\_PublishedWebsites I get the following two directories: WebsiteName WebsiteName_Package All I want to do is run the following command on a successful build - to deploy the site: Web...