Last post Aug 13, 2007 10:16 AM by Nemo
Aug 09, 2007 11:47 AM|Nemo|LINK
I have a large project I ported from DevStudio2003/.Net 1.1 to DevStudio2005/.Net 2. There are few things I don't really understand on how they function after porting and was hoping someone might give me a clue. First, when I create a new web project
with DevStudio2005/.Net 2 and run, it runs beneath the development web server bound to whatever port was available. No problem with that, except that my ported web application( from 1.1 ) still runs under IIS when debugging in DevStudio2005. Why? Shouldn't
it run under an instance of the development webserver? Is there something in the web.config I need to manually change to make it so?
The other item - which I believe is related to the above item - is when a problem occurs in the ported project running debug under 2005, everything hangs. I can see the system memory consumption climbing and will eventually cripple my machine. The memory
is being consumed by IIS. I can reset IIS, and memory drops back to normal. I think maybe DevStudio is trying to do something with IIS thinking it is the develoment web server which causes the issue. I can take the problem page out of the project and
insert it into a new project build with DevStudio2005/.Net 2 and when it hits the problem running under the development web server, it gives me the appropriate error message and stops as opposed to the hanging behavior seen under IIS for the ported project.
If anyone has seen this behavior or has an idea on the issue(s). I would really appreciate the help.
Aug 13, 2007 02:09 AM|Benson Yu - MSFT|LINK
my ported web application( from 1.1 ) still runs under IIS when debugging in DevStudio2005. Why?
Please check the project is configured to using build-in development server or not:
For Web Application project, please right click the project and select “Properties”. In Web tab, please confirm the Server is “use Visual Studio Development Server”.
For Web Site project, please right click the project and select “Property Pages”. In “Start Options” node, please confirm the Server is “Use default Web Server”.
Aug 13, 2007 10:16 AM|Nemo|LINK
Thank you for the reply. I had looked around in the web.config and project settings but had not found the debug web server settings. Obviously I had overlooked them. I will change the project to run under the development web server to see if it changes
the "hanging" issue on exception I see when currently running under IIS.