views:

29

answers:

1

My problem i sthat i have created a web application in visual studio 2008 professional edition but when i run it i have to change the specified port every time otherwise it is not woking properly i have also tried to use the assign automatic port option but the result is same. How can i make the setting to use the visual studio internal server without changing the port number every time.

A: 

You can fix the port the Visual Studio server uses in the Web tab of the project properties screen:
alt text

Alternatively, if you have it installed, you could change the project to use the local IIS server, which would mean you could use a path like http://localhost/MyProject/default.aspx to get to your project - no knowledge required of what port it's running on.

PhilPursglove
I am using the exact setting you have displayed in the figure above but even after selecting the specific port option i have to change the specific port number before launching the web application project with visual studio otherwise the above mentioned problem occurs.
Rahat Ali