[SqlTypeException: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.]
System.Data.SqlClient.TdsParser.TdsExecuteRPC(SqlCommand cmd, _SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc, Boolean sync, TaskCompletionSource`1 completion, Int32 startRpc, Int32 startParam) +11545
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) +3392
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) +725
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +84
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +207
System.Data.SqlClient.SqlCommand.ExecuteReader() +142
Rysis.MSF.Midtier.Repo.DatabaseRepo.LU_DashStockoutForCaseStatusExport(Nullable`1 AssignedToUserId, Nullable`1 ProjectId, Nullable`1 CaseId, Nullable`1 ClinicId, Nullable`1 CaseStatusId, Nullable`1 CaseCategoryId, Nullable`1 Active, String Search, Nullable`1 StartDate, Nullable`1 EndDate, Nullable`1 ProvinceId, Nullable`1 CaseTypeId, Nullable`1 DistrictId, Nullable`1 MemberId, Nullable`1 MedicineTypeId) in C:\Rysis\GIT\rysis-msfstockout\MSF\MSF.Midtier\Bat2\DatabaseRepo.cs:8531
MSF.Midtier.Repositories.CaseRepo.SelectCaseExportList(ListCriteria criteria, Int32 UserId, Int32 projectId, Int32 clinicId, Int32 assignedToUserId, Nullable`1 isActive, Int32 caseCategoryId, Int32 caseStatusId, Nullable`1 startDate, Nullable`1 endDate, Int32 provinceId, Nullable`1 medicineTypeId, Nullable`1 caseTypeId, Nullable`1 districtId, Nullable`1 memberId) in C:\Rysis\GIT\rysis-msfstockout\MSF\MSF.Midtier\Repositories\CaseRepo.cs:163
MSF.WebApp2.ViewModels.PublicCaseVm.Export() in C:\Rysis\GIT\rysis-msfstockout\MSF\MSF.WebApp2\ViewModels\PublicCaseVm.cs:165
MSF.WebaApp2.Controllers.StockoutsController.List(CaseCriteria Criteria, String sortExpression, String sortDirection, Int32 page, String export) in C:\Rysis\GIT\rysis-msfstockout\MSF\MSF.WebApp2\Controllers\StockoutsController.cs:35
lambda_method(Closure , ControllerBase , Object[] ) +350
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +229
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39
System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +77
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42
System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +72
System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +396
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42
System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +38
System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +188
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +32
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +46
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158
|