aspnet_wp process issue

On one of my project, our Intranet website, I have a strange behaviour with aspnet_wp.exe.

Apparently without any reasons, everytime I launch a debugging session, this process is deadlock, with a 99 percent of CPU usage.

I have to kill the process all the time, refresh the browser, so that's mean doing every action twice.

I raised this problem to Microsoft, without any signs from them. I used also some mail list, no progress.

Because I know some excellent developers are on this blog, I hope eventually that someone has an answer.

If not, what is the best approach for me if I want to rebuild the application from scratch ?

Because I suppose that for the sake of my site Namespace, I should keep the same project name.
Or do I need simply to be brave and delete the dll and compile again ?

 

1 Comment

  • That last comment is not the correct solution for the problem.





    At my company we all had the same problem - about every one in 3-6 compiles of a web project, the aspnet_wp.exe worker process would spike at 99% for 5-10 minutes.





    We finally found that it was an unhandled exception in a "Release" object that was being referenced by all of our projects (it was a SQL connection manager we wrote).





    Apparently the object was trying to do something after the Finalize method was called.





    Anyway, we couldn't see the error because it was compiled in "Release" mode. Once we went back to using the debug version of that library we eventually found the error (it was able to bubble up).

Comments have been disabled for this content.