Guest User

Untitled

a guest
Oct 16th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.02 KB | None | 0 0
  1.  
  2. <html>
  3. <head>
  4. <title>Cannot insert the value NULL into column 'Title', table 'SmartWeb.dbo.Pages'; column does not allow nulls. INSERT fails.<br>The statement has been terminated.</title>
  5. <style>
  6. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
  7. p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
  8. b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
  9. H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
  10. H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
  11. pre {font-family:"Lucida Console";font-size: .9em}
  12. .marker {font-weight: bold; color: black;text-decoration: none;}
  13. .version {color: gray;}
  14. .error {margin-bottom: 10px;}
  15. .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
  16. </style>
  17. </head>
  18.  
  19. <body bgcolor="white">
  20.  
  21. <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
  22.  
  23. <h2> <i>Cannot insert the value NULL into column 'Title', table 'SmartWeb.dbo.Pages'; column does not allow nulls. INSERT fails.<br>The statement has been terminated.</i> </h2></span>
  24.  
  25. <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
  26.  
  27. <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
  28.  
  29. <br><br>
  30.  
  31. <b> Exception Details: </b>System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'Title', table 'SmartWeb.dbo.Pages'; column does not allow nulls. INSERT fails.<br>The statement has been terminated.<br><br>
  32.  
  33. <b>Source Error:</b> <br><br>
  34.  
  35. <table width=100% bgcolor="#ffffcc">
  36. <tr>
  37. <td>
  38. <code><pre>
  39.  
  40. Line 157: }
  41. Line 158: }
  42. <font color=red>Line 159: }
  43. </font>Line 160:
  44. Line 161: static bool IsDeletedPage(ObjectStateEntry ose)</pre></code>
  45.  
  46. </td>
  47. </tr>
  48. </table>
  49.  
  50. <br>
  51.  
  52. <b> Source File: </b> C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs<b> &nbsp;&nbsp; Line: </b> 159
  53. <br><br>
  54.  
  55. <b>Stack Trace:</b> <br><br>
  56.  
  57. <table width=100% bgcolor="#ffffcc">
  58. <tr>
  59. <td>
  60. <code><pre>
  61.  
  62. [SqlException (0x80131904): Cannot insert the value NULL into column &#39;Title&#39;, table &#39;SmartWeb.dbo.Pages&#39;; column does not allow nulls. INSERT fails.
  63. The statement has been terminated.]
  64. System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +404
  65. System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +412
  66. System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1363
  67. System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +58
  68. System.Data.SqlClient.SqlDataReader.get_MetaData() +118
  69. System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6369073
  70. System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6370642
  71. System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +538
  72. System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28
  73. System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +256
  74. System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +19
  75. System.Data.Mapping.Update.Internal.DynamicUpdateCommand.Execute(UpdateTranslator translator, EntityConnection connection, Dictionary`2 identifierValues, List`1 generatedValues) +267
  76. System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter) +381
  77.  
  78. [UpdateException: An error occurred while updating the entries. See the inner exception for details.]
  79. System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter) +781
  80. System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options) +743
  81. SmartWeb.Lib.DAL.DbContextImpl.SafelySaveChanges(SaveOptions options) in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs:159
  82. SmartWeb.Lib.DAL.DbContextImpl.Save(SaveOptions options, Action beforeCommit) in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs:121
  83. SmartWeb.Lib.DAL.DbContextImpl.SaveChanges(SaveOptions options) in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs:82
  84. SmartWeb.Lib.DAL.DbContextImpl.SaveChanges() in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs:73
  85. SmartWeb.Lib.DAL.DbContextImpl.SmartWeb.Lib.DAL.IDbContext.SaveChanges() in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs:179
  86. SmartWeb.Lib.DAL.SmartWebContext.SaveChanges() in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\SmartWebContext.cs:182
  87. SmartWeb.Lib.DAL.SmartWebContext.EventualySaveChages() in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\SmartWebContext.cs:196
  88. SmartWeb.Lib.DAL.SmartWebContext.Dispose() in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\SmartWebContext.cs:187
  89. Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.ApplyConcerns(IEnumerable`1 steps, Object instance) +98
  90. Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Destroy(Object instance) +29
  91. Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Release(Object instance) +24
  92. Castle.MicroKernel.Burden.Release(IReleasePolicy policy) +83
  93. Castle.MicroKernel.Releasers.AllComponentsReleasePolicy.Release(Object instance) +210
  94. Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleManager.Evict(Object instance) +95
  95. Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule.Application_EndRequest(Object sender, EventArgs e) +308
  96. System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
  97. System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270
  98. </pre></code>
  99.  
  100. </td>
  101. </tr>
  102. </table>
  103.  
  104. <br>
  105.  
  106. <hr width=100% size=1 color=silver>
  107.  
  108. <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
  109.  
  110. </font>
  111.  
  112. </body>
  113. </html>
  114. <!--
  115. [SqlException]: Cannot insert the value NULL into column &#39;Title&#39;, table &#39;SmartWeb.dbo.Pages&#39;; column does not allow nulls. INSERT fails.
  116. The statement has been terminated.
  117. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
  118. at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
  119. at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
  120. at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
  121. at System.Data.SqlClient.SqlDataReader.get_MetaData()
  122. at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
  123. at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
  124. at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
  125. at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
  126. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
  127. at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
  128. at System.Data.Mapping.Update.Internal.DynamicUpdateCommand.Execute(UpdateTranslator translator, EntityConnection connection, Dictionary`2 identifierValues, List`1 generatedValues)
  129. at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)
  130. [UpdateException]: An error occurred while updating the entries. See the inner exception for details.
  131. at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)
  132. at System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options)
  133. at SmartWeb.Lib.DAL.DbContextImpl.SafelySaveChanges(SaveOptions options) in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs:line 159
  134. at SmartWeb.Lib.DAL.DbContextImpl.Save(SaveOptions options, Action beforeCommit) in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs:line 121
  135. at SmartWeb.Lib.DAL.DbContextImpl.SaveChanges(SaveOptions options) in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs:line 82
  136. at SmartWeb.Lib.DAL.DbContextImpl.SaveChanges() in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs:line 73
  137. at SmartWeb.Lib.DAL.DbContextImpl.SmartWeb.Lib.DAL.IDbContext.SaveChanges() in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\DbContextImpl.cs:line 179
  138. at SmartWeb.Lib.DAL.SmartWebContext.SaveChanges() in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\SmartWebContext.cs:line 182
  139. at SmartWeb.Lib.DAL.SmartWebContext.EventualySaveChages() in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\SmartWebContext.cs:line 196
  140. at SmartWeb.Lib.DAL.SmartWebContext.Dispose() in C:\dev\sitepolis\development\trunk\src\SmartWeb.Lib\DAL\SmartWebContext.cs:line 187
  141. at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.ApplyConcerns(IEnumerable`1 steps, Object instance)
  142. at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Destroy(Object instance)
  143. at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Release(Object instance)
  144. at Castle.MicroKernel.Burden.Release(IReleasePolicy policy)
  145. at Castle.MicroKernel.Releasers.AllComponentsReleasePolicy.Release(Object instance)
  146. at Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleManager.Evict(Object instance)
  147. at Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule.Application_EndRequest(Object sender, EventArgs e)
  148. at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  149. at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  150. -->
Add Comment
Please, Sign In to add comment