Solved

How can I close the ASP.NET Development Server-Port 1704 dialog when my web page is closed?

Posted on 2009-04-03
6
764 Views
Last Modified: 2012-05-06
Hi, I'm new to ASP.NET.  I have a asp.net web page.  When I click to close the page by clicking the top right x, the page is closed but there is a small icon remain on the bottom right of my windows right status bar.  When I click on the icon, it shows the title as "ASP.NET Development Server-Port 1704 ".  It display information for Root URL:, Port, Virtual Path, Physical Path.  If I open and close my web page several time then there will be several of these dialogs and icons on my status bar.  How can I close this when my page is clicked to be close?  Thanks.
0
Comment
Question by:lapucca
  • 3
  • 2
6 Comments
 
LVL 10

Expert Comment

by:MaxOvrdrv2
ID: 24063087
Hi,

unfortunately, i have the same problem... and the only way i found how to do this is to right-click the page icon and choose the Close(or Stop?) option. It's pretty stupid like that i agree.

Other thing i noticed is that when i close my Visual Studio, they usually all close at once.

M
0
 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 24067809
visual studio 2005 and above have an integrated web server and it starts as soon as you start running you asp.net website from visual studio
this web server does not close when the internet explorer closes and it will not close automatically
it will only close when visual studio instance its running under closes

if you have 2 instances of visual studio running and both of them running asp.net web applications then 2 servers (different) will be fired up and each linked to one instance of the visual studio

unfortunately you cannot achieve what you are trying to do because the way microsoft has implemented it
0
 
LVL 10

Expert Comment

by:MaxOvrdrv2
ID: 24067861
Again, it can be done... You just have to right-click on the little icon and chose stop service or something like that.


0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 24068289
i never contested on your view point that it cannot be done .. have i
i just said that microsoft has implemented it for a reason and the reason is that its a web server within your visual studio and when you fire up your web server it takes up processing time and delays the launch
if you want to clsoe it every time you finish debugging ... its fine you can close it manually but even if you dont close it, it wont hurt
0
 

Author Comment

by:lapucca
ID: 24079647
Hi raq, Thank you for the information.  However, With just one instace of my V.S. 2008 running, I'm debuging or running the same web application n times then there will be n number of these local web server icons in my status bar.  Is that the way it supposed to work?  It just seems wrong and annyoing that it keeps creating new web server every time I run my web applicaiton in the same V. S. 2008.
0
 
LVL 26

Accepted Solution

by:
Anurag Thakur earned 500 total points
ID: 24084084
if you are running only one instance of VS 2008 then only one instance of local web server should be created not the number of times you do debug
i think something is going worng

if the port number changing somehow becasue that is the only reason i can imagine why a new instance will be created
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question