Horrible bug(?) messing me up (VS.NET + IIS)

  • Thread starter Thread starter Robert Dickow
  • Start date Start date
R

Robert Dickow

Recently I'm experiencing a nasty problem in my development cycle:

I compile my web application without errors in Visual Studio 2002
(C#, XP SP2). Then I test the web app in my Internet Explorer. All
goes perfectly, performs as expected. Then, I'll continue to edit
my code, recompile (successfully), and run IE again...whammo!
IE hangs, VS hangs, All apps in system hang, Task Manager won't
come up, and the only solution is to do a Vulcan Nerve Pinch
with the ol' reset button.

This has been going on for the last 3-4 days, for reasons unknown,
and I can't see a darn thing in my system that would account for it.
No errors in the Events logs either!! Waaaah!

Any ideas? Obviously, my 4 minute reboots are cutting into my
development time. I suspect IIS somehow, maybe jamming up during the call
compile somehow.

Bob


-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
http://www.newsfeed.com The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
 
Hi Robert,

What have you done so far to debug it? Here are a few suggestions:

1. Set a breakpoint in Page_Load and step through the code until you see
where it is hanging up.
2. Sometimes stepping through code doesn't expose the bug, so you need to
see what is happening in real-time. So, you can do tracing to see what is
going on. Here are a couple ways you can do this:

a. Use Trace.Warn/Trace.Write calls and look at the page output.
b. Use System.Diagnostics.Debug to write trace info to a Listener

The first thing you will want to do is isolate where the hangup occurs.
Divide-and-conquer is the most efficient method. Once you know where the
hangup occurs, look at the state associated with the current operation to
see if you can figure out what is causing the problem.

If you can't figure it out, try to create the simplest program that will
reproduce the problem and post a new question with the information you were
able to gather.

Joe
 
Thanks Joe,

I found my problem, which wasn't in the code, nor in VS. I traced it to
the recent installation of ZoneAlarm Pro firewall (version 5.062.004).
I replaced it with an earlier version that I had used previously and all
is well again. It was not working nicely with IIS I guess.

That's not the first time ZA has given me fits, but this buggy IIS
behavior didn't suggest ZA right away.

Bob Dickow
 
I did the same and it works for me! Thanks so much.

BTW, how did you narrow it down to Zone Alarm? There was nothing in event
viewer nor IIS logs that helped me troubleshoot.
 
Back
Top