Re: for some reason when i deploy my C# application on windows 2003 occasionaly rdr[0].ToString() hangs where rdr is a System.Data.SqlClient.SqlDataReader. Is there a fix for this? is my visual studio.net out dated?



I'm not sure why you posted this question to security but are you sure the
app is hanging on the Item accessor? A more common issue is that is that
the Read method is hanging due to back end database blocking. Run sp_who
while to problem is occurring to identify blocked/blocking processes.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Daniel" <softwareengineer98037@xxxxxxxxx> wrote in message
news:%23ixqfLYTGHA.2816@xxxxxxxxxxxxxxxxxxxxxxx
for some reason when i deploy my C# application on windows 2003
occasionaly
rdr[0].ToString() hangs where rdr is a
System.Data.SqlClient.SqlDataReader.
Is there a fix for this? is my visual studio.net out dated?




.



Relevant Pages

  • saveFileDialog - bug & question
    ... write an app:) ... I started with functionality classes, so my app is currently console, and ... SaveFileDialog saveFileDialog = new SaveFileDialog; ... I tried moving showdialog to separate line before if - it is hanging on it. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Can an application hang Windows 2000?
    ... be several things hanging the machine, and the application is only one ... version of the app with garbage ... it will not be pro-active enough at trimming memory. ... > earlier OS due to kernel mode must-succeed allocations. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Running a .NET 1.0 application on Windows.NET CE version 5.0 (CE5)
    ... when you debug the app - where is it hanging? ... Ginny Caughey ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Server 2003 + TS with RDP 5.2
    ... Is this a consistent occurence? ... are there any event logs when this occurs? ... current app loses focus yet no other app or background pop has it. ... I spoted the fact was not hanging and by clicking on the Grey task bar ...
    (microsoft.public.windows.terminal_services)
  • Display of Command execution.
    ... I have some queries with a command time out of some 10 minutes. ... taking solong that users offen think the app is hanging. ...
    (microsoft.public.dotnet.framework.adonet)