whateveragain
Programmer
I'm running SQL stored procedures from ASP.net. These stored procedures are linked together by one SP calling another SP. It works fine when I run a trial run from SQL; however, when I run it from ASP.net the app hangs. It never hangs in the same SP and it doesn't hang in the same spot; however, I always get a timeout expired error. Does anyone understand the stackTrace so I can find out what is wrong?
System.Data.SqlClient.SqlException was unhandled by user code
Class=11
ErrorCode=-2146232060
LineNumber=0
Message="Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. start of giving a-j a value end of giving a-j a value zip_code, fips_code, st_abbrev, msa_fipsst, msa_code, dma_code, a12, a13, a36, codeID, rate, lowrate, pctmkt, bkey, a, b, c, d, e, f, g, h, i, j, used, second as as #5 @OKCAT = BB,NB,WY,Y ,C , C @OKCATOR = BB,NB,WY,Y ,C , C @OKCATOR = BB,NB,WY,Y ,C , C @OKA = BB @OKB = NB @OKC = WY @OKD = Y @OKE = @OKF = C @OKG = C @OKH = BB @OKI = NB @OKJ = WY @OKK = Y @OKL = @OKM = C @OKN = C @OKO = @OKP = @OKQ = @OKR = creating appp @SQL10 = select * into APPPi0k23drwpdhy3vy3ae0w3a55 from OPPP1i0k23drwpdhy3vy3ae0w3a55 where ((DIR_CAT = 'BB') or (DIR_CAT = 'NB') or (DIR_CAT = 'WY') or (DIR_CAT = 'Y ') or (DIR_CAT = ' ') or (DIR_CAT = 'C ') or (DIR_CAT = ' C') or (DIR_CAT = 'BB') or (DIR_CAT = 'NB') or (DIR_CAT = 'WY') or (DIR_CAT = 'Y ') or (DIR_CAT = ' ') or (DIR_CAT = ' C') or (DIR_CAT = 'C ') or (DIR_CAT = ' ') or (DIR_CAT = ' ') or (DIR_CAT = ' ') or (DIR_CAT = ' ')) and ((DIR_TYPE = 'U') or (DIR_TYPE = ' ') or (DIR_TYPE = 'U') or (DIR_TYPE = 'M')) creating bppp creating ppp creating firststep creating rankfile altering table rankfile creating atemp entering copycolumn in copycolumn - @columnname = A12 processing a12 to a back from copycolumn entering copycolumn #2 column b"
Number=-2
Procedure=""
Server="\\.\pipe\87D7030E-F9C9-47\tsql\query"
Source=".Net SqlClient Data Provider"
State=0
StackTrace:
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByteArray(Byte[] buff, Int32 offset, Int32 len)
at System.Data.SqlClient.TdsParserStateObject.ReadString(Int32 length)
at System.Data.SqlClient.TdsParser.ProcessError(Byte token, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Title.makectyrankfile() in C:\Users\Joanne\Documents\Visual Studio 2008\WebSites\WebSite1\Title.aspx.vb:line 262
at Title.Button2_Click(Object sender, EventArgs e) in C:\Users\Joanne\Documents\Visual Studio 2008\WebSites\WebSite1\Title.aspx.vb:line 490
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:
System.Data.SqlClient.SqlException was unhandled by user code
Class=11
ErrorCode=-2146232060
LineNumber=0
Message="Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. start of giving a-j a value end of giving a-j a value zip_code, fips_code, st_abbrev, msa_fipsst, msa_code, dma_code, a12, a13, a36, codeID, rate, lowrate, pctmkt, bkey, a, b, c, d, e, f, g, h, i, j, used, second as as #5 @OKCAT = BB,NB,WY,Y ,C , C @OKCATOR = BB,NB,WY,Y ,C , C @OKCATOR = BB,NB,WY,Y ,C , C @OKA = BB @OKB = NB @OKC = WY @OKD = Y @OKE = @OKF = C @OKG = C @OKH = BB @OKI = NB @OKJ = WY @OKK = Y @OKL = @OKM = C @OKN = C @OKO = @OKP = @OKQ = @OKR = creating appp @SQL10 = select * into APPPi0k23drwpdhy3vy3ae0w3a55 from OPPP1i0k23drwpdhy3vy3ae0w3a55 where ((DIR_CAT = 'BB') or (DIR_CAT = 'NB') or (DIR_CAT = 'WY') or (DIR_CAT = 'Y ') or (DIR_CAT = ' ') or (DIR_CAT = 'C ') or (DIR_CAT = ' C') or (DIR_CAT = 'BB') or (DIR_CAT = 'NB') or (DIR_CAT = 'WY') or (DIR_CAT = 'Y ') or (DIR_CAT = ' ') or (DIR_CAT = ' C') or (DIR_CAT = 'C ') or (DIR_CAT = ' ') or (DIR_CAT = ' ') or (DIR_CAT = ' ') or (DIR_CAT = ' ')) and ((DIR_TYPE = 'U') or (DIR_TYPE = ' ') or (DIR_TYPE = 'U') or (DIR_TYPE = 'M')) creating bppp creating ppp creating firststep creating rankfile altering table rankfile creating atemp entering copycolumn in copycolumn - @columnname = A12 processing a12 to a back from copycolumn entering copycolumn #2 column b"
Number=-2
Procedure=""
Server="\\.\pipe\87D7030E-F9C9-47\tsql\query"
Source=".Net SqlClient Data Provider"
State=0
StackTrace:
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByteArray(Byte[] buff, Int32 offset, Int32 len)
at System.Data.SqlClient.TdsParserStateObject.ReadString(Int32 length)
at System.Data.SqlClient.TdsParser.ProcessError(Byte token, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Title.makectyrankfile() in C:\Users\Joanne\Documents\Visual Studio 2008\WebSites\WebSite1\Title.aspx.vb:line 262
at Title.Button2_Click(Object sender, EventArgs e) in C:\Users\Joanne\Documents\Visual Studio 2008\WebSites\WebSite1\Title.aspx.vb:line 490
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException: