More trouble from WebDev, still unexplained

by Grank January 06, 2009 13:58
Here's a super simple 2-click solution to a problem that will remain a mystery for now:
Say that you find that a web app you're working on takes like 2 minutes to load every page, but always renders them correctly, and if you run it in debug mode you find something along the lines of this in the output window:
 
A first-chance exception of type System.Exception occured in System.Web.dll
 
And nothing is in the event log or anything, and the page always ends up rendering correctly anyway, it just takes forever because it waits for an exception or two to get thrown first...
And you've been using Visual Studio's built in ASP.NET Development Server to run it...
 
Don't.
 
Who knows what's happening?  It doesn't matter.  But someone said "try using IIS" and the problem instantly went away.  Good enough for me :)
If you're developing on a box that doesn't have IIS...  you're on your own!

Tags: , ,

Comments

Add comment


(Will show your Gravatar icon)

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen | Modified by Mooglegiant

About The Author

I'm a software developer and musician in Edmonton, AB.  I write mostly web-based software, primarily on the Microsoft stack.  I have an MCPD and several MCTS, but I've only been at this whole developer thing for a few years, and the truth is that I'm still learning more than knowing.  So these are my adventures and experiments and some of it will probably be blatantly wrong...  Just warning ya.