Strange problem

  • Thread starter Thread starter Peter Fearn
  • Start date Start date
P

Peter Fearn

Anyone able to help, this is driving me mad...

I have an ASP.NET application, which runs fine.

I change the source code in VS.NET 2003 and build (the change isn't
important, it seems to be the building that is). The application then
hangs, and my network dies.

After debugging I discovered the application hangs at the Open method
of SqlConnection. The only solution is to restart the machine (try to
restart IIS / SQL Server with no joy). After which, the application
works fine.

I change the source code back to what it was originally, and build.
The application hangs, then my network dies. Again. And the only
solution is a restart. Again.

I have several apps working on this machine (not concurrently, I
repoint IIS) and this is the only one that this has happened to. The
only couple of differences seem to be 1) I'm using roles in SQL Server
to access SPs rather than user permissions, and 2) I removed some bits
from my web.config (specifically stateConnectionString,
sqlConnectionString from sessionState - I'm using InProc anyway. the
globalization node. the trace node.)

If anyone has any ideas I would most appreciate it, as I am going
mad...

cheers

Pete
 
Does the same happen on a different machine/same sourcecode?

It works fine on the production machine, but then it doesn't get
rebuilt once it's on there...

I don't have access to another machine with the necessary tools to try
it out
 
Back
Top