WebDev.WebServer40.exe has encountered a problem and needs to close

427
Views
1
Answers

I was building my application in visual studio 2010 and when trying to start the application for debugging I encounter a pop up saying
WebDev.WebServer40.exe has encountered a problem and needs to close

Any fix for this issue?

edit | flag
William Patrick
Asked on: Jan 11, 2012 at 7:35AM

1 Answers

98
3
98

When the crash windows popped up, click the DEBUG button and debug the cause . If it throws an unhandled "Stack Overflow Exception",find the cause for that exception and fix it.

I don't know if there is any other reason can cause this problem, but try this suggestion from Microsoft, maybe it will help:

  1. In the solution Explorer windows, right click your start project (not the solution), select "properties", in the "web" tab, use Start Action with Sepcial page, type in some page that is invalid.
  2. Rebuild and run, there will be something like" the resoure is not found". While typing in the home url would lead to the error. In fact, this information make me sure that there was someting wrong with my code rather than the server itself.
  3. On the previous step, dont' type in the home ul, try some other pages, especially those WITHOUT master / layout.
  4. If those other pages work, something must hide in the home page or it's master/layout pages.

Hope it helps!!

edit | flag
Gokul A
Answered on: Jan 11, 2012 at 7:39AM

Post your Answer

Search

Welcome to Ask Amoeba!
This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions.
Learners, beginners, Experts stop and share your knowledge and ideas!

Browse Categories

Browse Tags