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 8410823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:16:47+00:00 2026-06-10T00:16:47+00:00

I am attempting to deploy a web application to IIS using a web application

  • 0

I am attempting to deploy a web application to IIS using a web application package. When I try to use the web deploy command line to run my application.deploy.cmd I get an error saying that my managed runtime version is version 2 and not version 4 as my application requires.

I understand that I must be using an application pool which is configured to use ASP.NET 4.0 and I have an application pool which is configured to use ASP.NET 4.0.

My question is how do I tell the Web Deploy Command Line tool which application pool to use when I run my application.deploy.cmd?

  • 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-06-10T00:16:48+00:00Added an answer on June 10, 2026 at 12:16 am

    Take a look at this. Will work if you are asking about MSDeploy

    Set Application Pool for package using MSDeploy

    Command :

    msdeploy.exe 
      -verb:sync -source:appHostConfig="Default Web Site" 
      -enableLink:AppPoolExtension 
      -dest:package=site.zip 
      -declareParam:name="Application Pool",
           defaultValue="Default Web Site",
           description="Application pool for this site",
           kind=DeploymentObjectAttribute,
           scope=appHostConfig,
           match="application/@applicationPool
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to use the VS2010 command line utility, devenv.exe, to deploy a web
I'm attempting to deploy a WPF application to IIS. After copying the files to
I'm attempting to deploy a web application on Amazon's EC2 servers, and I have
I am attempting to deploy a Rails 3.0.0 application to a sub URI using
I am attempting to deploy my webapp using maven to an embedded tomcat server.
I'm hit a problem when attempting to deploy a MVC app as a sub-application
I am attempting to create/deploy an application onto the Redhat OpenShift Express platform, and
I'm attempting to use the community TFS Build Extensions Azure activities to deploy to
I am using Capistrano to deploy a ruby on rails project. I am attempting
I am getting the following error message when compiling or attempting to run my

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.