I am getting a Server Side Error:
Error accessing the database: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
This occurs only when I try to save a Predictive Search. Any thoughts?
FULL ERROR:
Error Detail
============
Description: Error accessing the database: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Inner Exception: The wait operation timed out
Program: System.Data.dll
Method: OnError
Original Exception Type: SqlException
SQL Line Number: 0
SQL Error Number: -2
Framework Method: execSQLCommand
Framework Line Number: 98
Framework Column Number: 21
Framework Source: execSQLCommand at offset 122 in file:line:column c:\_Releases\ICE\3.1.400.0\source\Server\Db\Triggers\Default\TriggerHelper.cs:98:21
Server Trace Stack: at System.Data.SqlClient.SqlConnection.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.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Ice.Triggers.Default.TriggerHelper.execSQLCommand(String sql, Int32 tryCnt, SqlConnection sqlCnx) in c:\_Releases\ICE\3.1.400.0\source\Server\Db\Triggers\Default\TriggerHelper.cs:line 98
Inner Trace:
The wait operation timed out
:
Client Stack Trace
==================
at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
at Ice.Proxy.BO.PredictiveSearchImpl.Update(PredictiveSearchDataSet ds)
at Ice.Adapters.PredictiveSearchAdapter.OnUpdate()
at Ice.Lib.Framework.EpiBaseAdapter.Update()
at Ice.UI.App.PredictiveSearchEntry.PredictiveSearchTransaction.adapterUpdate()
at Ice.Lib.Framework.EpiMultiViewTransaction.Update(IEnumerable`1 dataSets)
Inner Exception
===============
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Inner Stack Trace
=================
I don’t know just a wild guess, go to Admin Console -> On the Right Side there is a App Server Settings Dialog
Click it and set the BAQ Timeout to like 30000 or something as a test.
I believe the issue is related to the fact that you have tracked solutions on a solution that you have deleted.
Open tracked solutions. Select the empty row and click ok. Your Predictive search should save now.
Took a while to work it out, but after a process of elimination and some judicious use of SQL Profiler I worked it out. I can’t find the post to refer to, but I noticed someone used weird names in messages to help them search for them in log files.
I gave my search a description of “zebra” and It made finding it in the profiler output that little bit easier.
So I hope you find this one useful. By the way I had the problem on 10.1.600.6 but upgraded to 10.1.600.25 on the weekend and still had the problem.