Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 645441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:30:09+00:00 2026-05-13T21:30:09+00:00

After a week of struggling I just got the msdeploy handler up on IIS7

  • 0

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:package="D:\Projects\Packaged.zip"
    -dest:iisApp="beta.mysite.com",
        wmsvc=ops.mysite.com,
        username=deployUser,
        password=secret,
        skipAppCreation=true 
    -allowUntrusted=true

I have found alot of examples of manifests that contain the iisApp path, but they usually move the other bits to a parameters file for (i’m guessing) user entry. Is there anything simple like this:

<!-- Pseudo-code manifest -->
<msdeploy.iisApp>
  <iisApp path="beta.mysite.com">
    <param key="wmsvc" value="ops.mysite.com"/>
    <param key="SkipAppCreation" value="true"/> 
    <param key="username" value="deployUser"/> 
    <param key="password" value="secret"/> 
  </iisApp> 
</msdeploy.iisApp>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T21:30:09+00:00Added an answer on May 13, 2026 at 9:30 pm

    Not exactly the same scenario but might give some idea.
    This is what we did trying to update our database with msdeploy.
    First we created a manifest.xml where we tell msdeploy dbFullSql provider where to look for our sql scripts:

    <sitemanifest>
      <dbfullsql path="test1.sql"/>
      <dbfullsql path="test2.sql"/>
      <dbfullsql path="test3.sql"/>
    </sitemanifest>  
    

    Then you need parameter.xml where you specify database connection string:

    <parameters>
      <parameter
         name="ConnectionString"
         value="Data Source=localhost;uid=user;password=pass;multipleactiveresultsets=false;Initial Catalog=Db_name">
      <parameterEntry type="ProviderPath" scope="dbFullSql"/>
     </parameter>
    

    Now we are ready to create a package with our manifest:

    msdeploy.exe -verb:sync -source:manifest="manifest.xml" -dest:package="package.zip"
    

    And finally deploy it:

    msdeploy.exe -verb:sync -source:package="package.zip" -dest:auto -setParamFile="parameter.xml"
    

    So you can see how you can keep your parameters in a separate file.
    Magic!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After studying TCP/UDP difference all week, I just can't decide which to use. I
After deploying WCF server (svc) on my Server, I have got this message when
I have been struggling with this issue for one week, and still far away
just started learning haskell - love it after a week. At the moment going
I am struggling with this problem since last one week. I have obfuscated exe
After a week of coding finally have my site working across all browsers and
After a week of asp.net mvc2, I still haven’t understood the advantages of ViewData.model
After one week searching and converting many algorithm from other language into php to
How to retrieve wordpress posts that published after last week or last month? I
So, after spending the last week carefully designing and planning out my app, a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.