Advertisement
Guest User

Untitled

a guest
Aug 5th, 2015
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.96 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Инструкции по обновлению, вставке или удалению из хранилища затронули непредвиденное число строк (0). Сущности могли быть изменены или удалены с момента их загрузки. Обновите записи диспетчера ObjectStateManager.</title>
  5. <meta name="viewport" content="width=device-width" />
  6. <style>
  7. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
  8. p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
  9. b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
  10. H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
  11. H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
  12. pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
  13. .marker {font-weight: bold; color: black;text-decoration: none;}
  14. .version {color: gray;}
  15. .error {margin-bottom: 10px;}
  16. .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
  17. @media screen and (max-width: 639px) {
  18. pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
  19. }
  20. @media screen and (max-width: 479px) {
  21. pre { width: 280px; }
  22. }
  23. </style>
  24. </head>
  25.  
  26. <body bgcolor="white">
  27.  
  28. <span><H1>Ошибка сервера в приложении '/zags'.<hr width=100% size=1 color=silver></H1>
  29.  
  30. <h2> <i>Инструкции по обновлению, вставке или удалению из хранилища затронули непредвиденное число строк (0). Сущности могли быть изменены или удалены с момента их загрузки. Обновите записи диспетчера ObjectStateManager.</i> </h2></span>
  31.  
  32. <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
  33.  
  34. <b> Описание: </b>Необработанное исключение при выполнении текущего веб-запроса. Изучите трассировку стека для получения дополнительных сведений о данной ошибке и о вызвавшем ее фрагменте кода.
  35.  
  36. <br><br>
  37.  
  38. <b> Сведения об исключении: </b>System.Data.OptimisticConcurrencyException: Инструкции по обновлению, вставке или удалению из хранилища затронули непредвиденное число строк (0). Сущности могли быть изменены или удалены с момента их загрузки. Обновите записи диспетчера ObjectStateManager.<br><br>
  39.  
  40. <b>Ошибка источника:</b> <br><br>
  41.  
  42. <table width=100% bgcolor="#ffffcc">
  43. <tr>
  44. <td>
  45. <code><pre>
  46.  
  47. Строка 148: {
  48. Строка 149: AuditLog();
  49. <font color=red>Строка 150: return context.SaveChanges();
  50. </font>Строка 151: }
  51. Строка 152:</pre></code>
  52.  
  53. </td>
  54. </tr>
  55. </table>
  56.  
  57. <br>
  58.  
  59. <b> Исходный файл: </b> g:\Source\Git\zags\zags\Zags.Service.Common\EditService.cs<b> &nbsp;&nbsp; Строка: </b> 150
  60. <br><br>
  61.  
  62. <b>Трассировка стека:</b> <br><br>
  63.  
  64. <table width=100% bgcolor="#ffffcc">
  65. <tr>
  66. <td>
  67. <code><pre>
  68.  
  69. [OptimisticConcurrencyException: Инструкции по обновлению, вставке или удалению из хранилища затронули непредвиденное число строк (0). Сущности могли быть изменены или удалены с момента их загрузки. Обновите записи диспетчера ObjectStateManager.]
  70. System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter) +456
  71. System.Data.EntityClient.EntityAdapter.Update(IEntityStateManager entityCache) +141
  72. System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options) +570
  73. System.Data.Entity.Internal.InternalContext.SaveChanges() +114
  74.  
  75. [DbUpdateConcurrencyException: Инструкции по обновлению, вставке или удалению из хранилища затронули непредвиденное число строк (0). Сущности могли быть изменены или удалены с момента их загрузки. Обновите записи диспетчера ObjectStateManager.]
  76. System.Data.Entity.Internal.InternalContext.SaveChanges() +200
  77. System.Data.Entity.Internal.LazyInternalContext.SaveChanges() +33
  78. System.Data.Entity.DbContext.SaveChanges() +20
  79. Zags.Service.Common.EditService`2.Commit() in g:\Source\Git\zags\zags\Zags.Service.Common\EditService.cs:150
  80. Zags.Service.Stages.ReserveService.SetBlankReserved(Blank blank) in g:\Source\Git\zags\zags\Zags.Service.Steps\ReserveService.cs:183
  81. Zags.Service.Print.PrintService`2.ChangePreviousSelectedBlankStatusIfNeeded(ICollection`1 documents) in g:\Source\Git\zags\zags\Zags.Service.Print\PrintService.cs:384
  82. Zags.Service.Print.PrintService`2.SaveDocumentsSelection(ICollection`1 documents, String subTypeName, Guid draftId, TypeActByApproval postponedType) in g:\Source\Git\zags\zags\Zags.Service.Print\PrintService.cs:159
  83. zags.Areas.Print.Controllers.PrintController.SaveSelectedDocuments(ICollection`1 documents, String type, String subType, Guid actId, TypeActByApproval postponedType) in g:\Source\Git\zags\zags\zags\Areas\Print\Controllers\PrintController.cs:203
  84. lambda_method(Closure , ControllerBase , Object[] ) +321
  85. System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
  86. System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +157
  87. System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
  88. System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;BeginInvokeSynchronousActionMethod&gt;b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +22
  89. System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +29
  90. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
  91. System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
  92. System.Web.Mvc.Async.AsyncInvocationWithFilters.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__3d() +50
  93. System.Web.Mvc.Async.&lt;&gt;c__DisplayClass46.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__3f() +225
  94. System.Web.Mvc.Async.&lt;&gt;c__DisplayClass46.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__3f() +225
  95. System.Web.Mvc.Async.&lt;&gt;c__DisplayClass33.&lt;BeginInvokeActionMethodWithFilters&gt;b__32(IAsyncResult asyncResult) +10
  96. System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10
  97. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
  98. System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
  99. System.Web.Mvc.Async.&lt;&gt;c__DisplayClass2b.&lt;BeginInvokeAction&gt;b__1c() +26
  100. System.Web.Mvc.Async.&lt;&gt;c__DisplayClass21.&lt;BeginInvokeAction&gt;b__1e(IAsyncResult asyncResult) +100
  101. System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10
  102. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
  103. System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
  104. System.Web.Mvc.Controller.&lt;BeginExecuteCore&gt;b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +13
  105. System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +29
  106. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
  107. System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +36
  108. System.Web.Mvc.Controller.&lt;BeginExecute&gt;b__15(IAsyncResult asyncResult, Controller controller) +12
  109. System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +22
  110. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
  111. System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +26
  112. System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
  113. System.Web.Mvc.MvcHandler.&lt;BeginProcessRequest&gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +21
  114. System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +29
  115. System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
  116. System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +28
  117. System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
  118. System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9711525
  119. System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +155
  120. </pre></code>
  121.  
  122. </td>
  123. </tr>
  124. </table>
  125.  
  126. <br>
  127.  
  128. <hr width=100% size=1 color=silver>
  129.  
  130. <b>Информация о версии:</b>&nbsp;Платформа Microsoft .NET Framework, версия:4.0.30319; ASP.NET, версия:4.6.81.0
  131.  
  132. </font>
  133.  
  134. </body>
  135. </html>
  136. <!--
  137. [OptimisticConcurrencyException]: Инструкции по обновлению, вставке или удалению из хранилища затронули непредвиденное число строк (0). Сущности могли быть изменены или удалены с момента их загрузки. Обновите записи диспетчера ObjectStateManager.
  138. в System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)
  139. в System.Data.EntityClient.EntityAdapter.Update(IEntityStateManager entityCache)
  140. в System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options)
  141. в System.Data.Entity.Internal.InternalContext.SaveChanges()
  142. [DbUpdateConcurrencyException]: Инструкции по обновлению, вставке или удалению из хранилища затронули непредвиденное число строк (0). Сущности могли быть изменены или удалены с момента их загрузки. Обновите записи диспетчера ObjectStateManager.
  143. в System.Data.Entity.Internal.InternalContext.SaveChanges()
  144. в System.Data.Entity.Internal.LazyInternalContext.SaveChanges()
  145. в System.Data.Entity.DbContext.SaveChanges()
  146. в Zags.Service.Common.EditService`2.Commit() в g:\Source\Git\zags\zags\Zags.Service.Common\EditService.cs:строка 150
  147. в Zags.Service.Stages.ReserveService.SetBlankReserved(Blank blank) в g:\Source\Git\zags\zags\Zags.Service.Steps\ReserveService.cs:строка 183
  148. в Zags.Service.Print.PrintService`2.ChangePreviousSelectedBlankStatusIfNeeded(ICollection`1 documents) в g:\Source\Git\zags\zags\Zags.Service.Print\PrintService.cs:строка 384
  149. в Zags.Service.Print.PrintService`2.SaveDocumentsSelection(ICollection`1 documents, String subTypeName, Guid draftId, TypeActByApproval postponedType) в g:\Source\Git\zags\zags\Zags.Service.Print\PrintService.cs:строка 159
  150. в zags.Areas.Print.Controllers.PrintController.SaveSelectedDocuments(ICollection`1 documents, String type, String subType, Guid actId, TypeActByApproval postponedType) в g:\Source\Git\zags\zags\zags\Areas\Print\Controllers\PrintController.cs:строка 203
  151. в lambda_method(Closure , ControllerBase , Object[] )
  152. в System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
  153. в System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
  154. в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
  155. в System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
  156. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
  157. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
  158. в System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
  159. в System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
  160. в System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
  161. в System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
  162. в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
  163. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
  164. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
  165. в System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
  166. в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
  167. в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
  168. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
  169. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
  170. в System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
  171. в System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
  172. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
  173. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
  174. в System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
  175. в System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller)
  176. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
  177. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
  178. в System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
  179. в System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
  180. в System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
  181. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
  182. в System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
  183. в System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
  184. в System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
  185. в System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  186. в System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  187. -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement