The error occurs whenever you select “Service Workorder Items”. You do not have to do anything else to get the error to occur. It will then display the timeout error. If you hit ignore, it will drop you back to the Service Workorder Items screen , but the both the column headers and the results will all be in a random order. You can then access the drop downs to filter columns, and also the top filter and number of row results, but changing any of these results in the Timeout error again. The columns are unable to be rearranged, and the order of them on display is not one that anyone would use.
We are also able to access every other section of the program, including Service Workorders, Units, Unit Models, and also all of the other sections under Service. Only the Items section is having a problem.
SQL is 2008 Express R2
I’m aware that 7.3.2 exists, but honestly this is almost 100% a database issue that I would like to get resolved prior to considering upgrading. I would think this would either be a malformed index, grid layout or result field, but I do not have the source code to know what exactly is happening.
I am attaching the full log below
2015-12-02 10:13:20,694 [8204] INFO AyaNova.clsMain - 291581904
2015-12-02 10:13:33,337 [8204] INFO AyaNova.Form1 - AyaNova Administrator logged in
2015-12-02 10:13:33,622 [8204] INFO AyaNova.Form1 - Settings:
DBServer: MSSQL
DBServer version: 10.50.4042.0
User settings
User: AyaNova Administrator
Language: English-Xtech
TimeZone: (UTC-05:00) Eastern Time (US & Canada)
TimeZone override: None
UserType: Administrator
SubContractor: False
Region: ALL REGIONS
Global settings
Language: English
Use Notification services: True
CJK Index: False
Use inventory: True
2015-12-02 10:14:06,394 [8204] FATAL AyaNova.Form1 - Unhandled exception
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. —> System.ComponentModel.Win32Exception: The wait operation timed out
— End of inner exception stack trace —
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 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.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() 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, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource
1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at GZTW.Data.GZTWDatabase.DoExecuteReader(IDbCommand command, CommandBehavior cmdBehavior)
at GZTW.Data.GZTWDatabase.ExecuteReader(DBCommandWrapper command)
at GZTW.AyaNova.BLL.WorkorderServiceItemList.DataPortal_Fetch(Object Criteria)
— End of inner exception stack trace —
Server stack trace:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at CSLA.Server.DataPortal.CallMethod(Object obj, String method, Object[] params)
at CSLA.Server.DataPortal.Fetch(Object Criteria, DataPortalContext context)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at CSLA.Server.DataPortal.Fetch(Object Criteria, DataPortalContext context)
at CSLA.DataPortal.Fetch(Object Criteria)
at GZTW.AyaNova.BLL.WorkorderServiceItemList.A(String A, Int32 B, List1 C) at GZTW.AyaNova.BLL.ListFactory.GetList(String key, String filter, Int32 maxrecords, List
1 idlist)
at GZTW.AyaNova.BLL.ListFactory.GetList(String key, String filter, Int32 maxrecords)
at AyaNova.MainGrid.A(String A, Boolean B, String C)
at AyaNova.MainGrid.BindData(Boolean Refresh)
at AyaNova.MainGrid.ShowList(String listKey, Boolean force)
at AyaNova.Form1.A(String A, String B, Boolean C)
at AyaNova.Form1.A(String A, String B)
at AyaNova.Form1.C()
at AyaNova.Form1.A(Object A, EventArgs B)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2015-12-02 10:14:16,847 [8204] WARN AyaNova.Form1 - User opted to continue after exception
2015-12-02 11:05:13,607 [8204] INFO AyaNova.Form1 - AyaNova Administrator closing AyaNova
2015-12-02 11:05:13,721 [8204] INFO AyaNova.Form1 - AyaNova Administrator logging out