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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:28:13+00:00 2026-05-18T08:28:13+00:00

I am using Visual Studio 2010/C#. My goal is to deploy a web application

  • 0

I am using Visual Studio 2010/C#. My goal is to deploy a web application on a windows 2008 R2 server. My main challenge is “how to choose port during the installation”.

I have tried the standard deployment project for web projects that are shipped with Visual Studio. However – the choice of deploying the application to use a specific port is not something that I can find easily.

Can someone tell me if it is possible to specify this using the “standard” web deployment installer in VS2010, or do I have to get my hands on something else in order to do this?

(Main reason for this is that other ports are used for other applications on that server, and I would like that the ‘deployer’ do not have to do anything in the IIS).

  • 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-18T08:28:14+00:00Added an answer on May 18, 2026 at 8:28 am

    You will need to implement a custom action (installation component) in order to change the port – or many other settings in Internet Information Services.

    Details of how to do this are available here:

    http://msdn.microsoft.com/en-us/library/aa289522(VS.71).aspx

    The example in the link shows how to query the port, shouldn’t be too difficult to change it to update the port.

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

Sidebar

Related Questions

I'm using visual studio 2010 do developt my Windows phone application! I'm newbie and
Using Visual Studio 2010 SP1, SQL server 2008: Motherboard recently failed and I migrated
Using Visual Studio 2010, I developed a WCF service hosted on a web application
We are using Visual Studio 2010 to publish to IIS using Web Deploy. I
I'm using Visual Studio 2010 Ultimate. In a simple Windows application I just want
We are using Visual Studio 2010 and before each release to our test server
I'm using Visual Studio 2010 on Windows 7 32bit, and I'm working on my
I am using Visual Studio 2010 SP1 in Windows 7 64bit dev box. My
I am using visual studio 2010, my application has a multiu layer architect, MainUI,
Using Visual Studio 2010 beta, when I run my application within the IDE for

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.