@kelvin wrote:
Dear All,
Lately, i got this error whenever i want to start the work period.
It started to appear last month, and it appears everyday. It never happened before.Hope someone can help me to solve this problem.
[General Info] Application: SambaPOS Version: 5.1.54 Region: en DB: SQ Machine: BUNANIK User: ADMIN Date: 2/12/2016 Time: 21:34 User Explanation: ADMIN said "" ----------------------------- [Exception Info 1] Top-level Exception Type: System.Data.Entity.Core.EntityCommandExecutionException Message: An error occurred while executing the command definition. See the inner exception for details. Source: EntityFramework Stack Trace: at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__6() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5() at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0() at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Samba.Persistance.Data.Dao.Query[T](Expression`1 predictate, Expression`1[] includes) at Samba.Persistance.Implementations.InventoryDao.GetTickets(WorkPeriod workPeriod) at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.CalculateCost(PeriodicConsumption pc, WorkPeriod workPeriod) at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.UpdatePeriodicConsumptionCost() at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.DoWorkPeriodStart() at Samba.Presentation.Services.Implementations.InventoryModule.InventoryWorkperiodProcessor.ProcessWorkPeriodStart(WorkPeriod workPeriod) at Samba.Presentation.Services.Implementations.WorkPeriodModule.WorkperiodClient.StartWorkPeriod(String description) Inner Exception 1 Type: System.Data.SqlClient.SqlException Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Source: .Net SqlClient Data Provider Stack Trace: 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.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) 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.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<Reader>b__c(DbCommand t, DbCommandInterceptionContext`1 c) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) Inner Exception 2 Type: System.ComponentModel.Win32Exception Message: The wait operation timed out Source: ----------------------------- [Assembly Info] mscorlib, Version=4.0.0.0 PresentationFramework, Version=4.0.0.0 PresentationCore, Version=4.0.0.0 System, Version=4.0.0.0 WindowsBase, Version=4.0.0.0 System.ComponentModel.Composition, Version=4.0.0.0 System.Configuration, Version=4.0.0.0 System.Xaml, Version=4.0.0.0 Samba.Services, Version=1.0.0.0 Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0 Samba.Presentation.Services, Version=1.0.0.0 Samba.Presentation.Common, Version=1.0.0.0 Samba.Domain, Version=1.0.0.0 Samba.Infrastructure, Version=1.0.0.0 Microsoft.Practices.Prism, Version=4.0.0.0 DevExpress.Xpf.Core.v14.1, Version=14.1.11.0 System.Core, Version=4.0.0.0 Microsoft.Practices.ServiceLocation, Version=1.0.0.0 Samba.Localization, Version=1.0.0.0 FastButton, Version=1.0.0.0 ----------------------------- [System Info] Operating System -Microsoft Windows 7 Professional --CodeSet = 1252 --CSDVersion = Service Pack 1 --CurrentTimeZone = 420 --FreePhysicalMemory = 1708828 --OSArchitecture = 32-bit --OSLanguage = 1033 --ServicePackMajorVersion = 1 --ServicePackMinorVersion = 0 --Version = 6.1.7601 Machine -BUNANIK --Manufacturer = ZOTAC --Model = ZBOX-ID83 --TotalPhysicalMemory = 3455721472 --UserName = BUNANIK\ADMIN ----------------------------- ######################### E N D #########################
Posts: 9
Participants: 4