We are trying to merge two chart of the same patient but it timeout. GE has no solution yet but recommended us to merge the reverse. However, we need to keep the second chart instead of the first one. Any suggestions?
SQL error 0.
Source: .Net SqlClient Data Provider
Number: -2
State: 0
Class: 11
Server:
Message: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Proc:
Line: 0
SqlException: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Practices.EnterpriseLibrary.Data.Database.DoExecuteNonQuery(DBCommandWrapper command)
at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteNonQuery(DBCommandWrapper command)
at GE.CPO.Common.Logic.CommonLogic.MergePatient(Int32 sourcePatient, Int32 targetPatient, String sourceName, String targetName)
at GE.CPO.Common.UI.SelectPatient.MergePatientDlg.OnMergeClick(Object sender, EventArgs e)
Win32Exception: The wait operation timed out
Looks like it is timing out trying to merge the documents. I would say to try to merge after hours to see if the less load on the database helps. Otherwise maybe there might be a huge amount of data to merge that Centricity cannot handle it and you may need to have GE run a manual script to complete the merger.
I tried but no luck. The chart we want to keep has about 60 documents whereas the one we don't want has over 300 documents. 300 does not seem to be that many to timeout.
run the stored procedure for merging chart against the PID
I spoke with GE. They said they might have to run the queries manually and since there is a lot of queries, it's going to take hours.
Naaa..
i get the same error almost all the time, it happens with very large patients charts.
i run the stored procedure on the SQL side of it and it takes a few seconds, sometimes up to a minute.
are you referring to the merge patient setresults stored procedure?
No, the stored procedure name is
trReassignPatient
Our VAR just increased the timeout limit when this happened to us. Quick fix.
Do you know where to increase the timeout value?
I'm sorry, but I don't. They made the change within the database, and I don't know SQL.