----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: ElanLG Message 1 in Discussion Hi, Following is the scenario: We get the timeout with when stored procedures are being called from the data layer. We use the Microsoft Data Access application block in the data layer. The ExecuteNonQuery() method on the SqlHelper is called to execute the stored procedure. The stored procedure has to update around 27,000 records in a table. Its during this operation that we get a timeout. Pls note that the stored procedures run in transactions (COM+) that include multiple table updates. We would like to know how to fix this problem. Also are there any configuration settings that can be done to increase the timeout. ####################################################################################################################### 1) Exception Information ********************************************* Exception Type: System.Data.SqlClient.SqlException Errors: System.Data.SqlClient.SqlErrorCollection Class: 10 LineNumber: 0 Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Number: -2 Procedure: ConnectionRead (recv()). Server: State: 0 Source: .Net SqlClient Data Provider TargetSite: System.Data.SqlClient.SqlDataReader ExecuteReader(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean) HelpLink: NULL StackTrace Information ********************************************* at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, String spName, Object[] parameterValues) at CILS.PostProdSystemAdmin.Data.PostProdSystemAdminDC.IsGPSDupAvailable() ########################################################################################################################### Thanx and Rgds, Elan ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
