WebDev.WebServer40.exe has encountered a problem and needs to close
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
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:
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.
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.
On the previous step, dont' type in the home ul, try some other pages, especially those WITHOUT master / layout.
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
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!