• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

Visual studio developnemt server error...

Hi.

I got an error while trying to access the admin website for an ASP.NET site.
It simply says it can not connect to the development server!
What could be wrong? There is no errors in the eventlog, no goodies but the devserver itself in netstat.
(I see that the devserver changes port number all the time, but thats normal is it not?)
0
mattisflones
Asked:
mattisflones
  • 6
  • 5
1 Solution
 
DreamMasterCommented:
Yes, the portnumber always changes when opening your website using "View in Browser" or Debugging.

There could be several things wrong, but I can't help you without knowing what is going wrong.

Could you by any chance show the full error..

Regards,
Max.
0
 
mattisflonesAuthor Commented:
Hi.
There is no full error, VS2005 pops up a dialogue box that says "Unable to connect to Visual Studio┬┤s Localhost Web Server".
The normal devserver works like a charm..
0
 
DreamMasterCommented:
If the ASP.Net Development Server failed to start listening on the port you are using, then either the port is blocked or is in use by another process. To identify the process that is using the port, use port listener software. There are many such free software in the internet, such as PortKeeper 2.5. Using the software, verify the port if it is in use and identify the process. From here on, either you may terminate the identified process or use another available port.

If no process is using the port, then the port may have been blocked by a firewall. Configure your firewall to allow the usage of the port or disable the firewall all together.

Regards,
Max.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
mattisflonesAuthor Commented:
There is no FW issues, thats checked.

I can not find any tool on the net by the name "PortKeeper 2.5"..
0
 
mattisflonesAuthor Commented:
Well, that tool does not help me at all since I do not know what port to listen on. In addition to that it can not listen on localhost..

0
 
DreamMasterCommented:
Are you absolutely sure, there is no firewall blocking the port that visual studio chooses? I mean XP SP2 DOES install a Firewall of it's own...if you have not turned it off, that might be the sole reason for your problem.

Regards,
Max.
0
 
mattisflonesAuthor Commented:
Shutting off the built in FW was the first thing i checked..

I guess i wil have to reinstall everything from .NET to VS...
0
 
DreamMasterCommented:
If all of the other options returned nothing...then I'm afraid you have little other options..

Regards,
Max.
0
 
mattisflonesAuthor Commented:
Even Ms gave up on this one, so i guess that my tampering with different .NET installs/SDKs and IIS reinstalls created the problem..

Poinx to Dreamer for trying to help and good suggestions.
0
 
DreamMasterCommented:
Glad to have been helpfull..

Regards,
Max.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now