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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:14:56+00:00 2026-05-16T14:14:56+00:00

I have a VS 2008 solution that includes a web site and a web

  • 0

I have a VS 2008 solution that includes a web site and a web service. I’m developing both at once, and it’s helpful to be able to debug from one into the other.

It occasionally can’t find the web service. If I look in the web.config, I find the port number it’s looking at is not the port number it auto-runs the service in when I use the debugger. For example, the web.config reference says something like:

add key=”mynamespace.mywebservice” value=”http://localhost:55765/mywebservice.asmx”

When I hover over the Cassini port icon, I find that the web service is running in port 55382 (or some other non-55765 port). No wonder it can’t find it.

Is there a way to enforce that the port number it runs under is the one specified in the web config? And if it’s not using the web config port number to figure out where to run it… where does it decide? I know in VS2005, there was a way to specify the port number to use when debugging, but I can’t find that anywhere in the web service project in VS 2008.

This is really going to cause problems as more developers come on to this project – how can I fix it? Deleting and re-adding the web services to the project fixes it, but I’d literally have to do it a couple times a day, not an ideal solution.

  • 1 1 Answer
  • 2 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-16T14:14:56+00:00Added an answer on May 16, 2026 at 2:14 pm

    I stumbled across this today when I was lookign for a solution… As stated above you can open the solution with notepad. Look for the line:

    VWDPort = "55071"
    

    and change the port number to what you would like. Save the file. If you have the solution open you should be prompted to reload. If not restart VS and you should be good to go. I don’t know if there is an option in VS, but this was an easy hack for me.

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

Sidebar

Related Questions

I have a visual studio 2008 solution that includes an asp.net-hosted remoting project in
I have a solution in VS 2008 that creates a DLL. I then use
I have a visual studio 2008 solution with multiple c# library projects, a Web
We have a VS 2010 solution that includes a few class library projects, a
I'm trying to convert a solution from VS.NET 2008 to 2010. The solution includes
I have a PowerShell script that configures web site and web application settings in
I have a VS 2008 solutions that includes a number of projects including a
I have a Sql-Server-2008 database that I am querying from on the regular that
We have a Visual Studio 2008 solution under VSS source control. The solution contains
I have a Visual studio 2008 solution, with 2 projects. A DLL, A, and

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.