Forum
 
ForumForumDiscussions and...Discussions and....Net framework ....Net framework ...When WebDev.WebServer.exe crashesWhen WebDev.WebServer.exe crashes
Previous Previous
 
Next Next
New Post
 18/03/2008 11:02
 
 Modified By RichardHowells  on 18/03/2008 11:14:39

When debugging in VS2008 you may see the message...

WebDev.WebServer.exe has encountered a problem and needs to close….

Then you hit a fatal error - "Unable to connect to the Web Server."  You could probably waste 10 minutes rebooting or you could try this.

In solution explorer click to select the PROJECT (not the solution).  Hit F4 or whatever key you have mapped for properties.  Do NOT right click that gives DIFFERENT properties.

Change Use Dynamic Port to false and Change the Port Number to ‘something different’.  It's probably best to choose a port number that's just a bit different to the random one selected for you.  Stay away from low numbered (less than 1024) ports.

Try debugging again.  You might need a bit of trial and error if you hit a port that somthing else is already using.  No; I don't know what error message you get if you hit an in use port.  If you find out please add a reply to this post.


Cheers,
- Richard
If this post helped you over a problem, or taught you something new, please login and rate it. Ratings are in the drop down in the top left corner
Previous Previous
 
Next Next
ForumForumDiscussions and...Discussions and....Net framework ....Net framework ...When WebDev.WebServer.exe crashesWhen WebDev.WebServer.exe crashes

Forum Usage Guidelines

The forums are a place for all to exchange ideas and techniques, and to post and answer questions.  All are welcome to read, registration is required to post. 

If you learn somthing new, discover or acquire a new technique, then please take a moment to register and rate the post that just helped you.  This site does not send spam and it does not release your personal details.  Full details in the site privacy policy.

We have some simple posting guidelines to keep the forums a pleasant and informative environment.

  • No flames, no trolls
  • No profanity, no racism
  • Site management has the final word on approving or removing any thread, post, or comment
  • English language only please

 

Copyright 2002-15 by Dynamisys Ltd