G
Grace
Hello,
From a VB .net application I'm calling an SQL stored
procedure and filling the results in an SQLDataReader,
whose results are returned to an ASP .Net page.
The procedure was running fine and all of a sudden it
started giving this error:
System.Data.SqlClient.SqlException: Timeout expired. The
timeout period elapsed prior to completion of the
operation or the server is not responding.
When I run the stored procedure in Query Analyzer it takes
1 sec. I tried to monitor it in Profiler by adding the
Stored Procedure Events, and I found that it is getting
stuck at a statement that goes similar to the following:
INSERT INTO #Tempf
SELECT t.SerNo, t.Name
FROM #Temp t
WHERE t.Value=x
#Tempf and #Temp are created explicitly at the beginning
of the procedure. #Temp contains around 16,000 records.
This statement is not being completed. I have no idea
about what the error might be from and I would appreciate
any help or idea about what might be causing this error.
Thanks,
Grace
From a VB .net application I'm calling an SQL stored
procedure and filling the results in an SQLDataReader,
whose results are returned to an ASP .Net page.
The procedure was running fine and all of a sudden it
started giving this error:
System.Data.SqlClient.SqlException: Timeout expired. The
timeout period elapsed prior to completion of the
operation or the server is not responding.
When I run the stored procedure in Query Analyzer it takes
1 sec. I tried to monitor it in Profiler by adding the
Stored Procedure Events, and I found that it is getting
stuck at a statement that goes similar to the following:
INSERT INTO #Tempf
SELECT t.SerNo, t.Name
FROM #Temp t
WHERE t.Value=x
#Tempf and #Temp are created explicitly at the beginning
of the procedure. #Temp contains around 16,000 records.
This statement is not being completed. I have no idea
about what the error might be from and I would appreciate
any help or idea about what might be causing this error.
Thanks,
Grace