firefox下发了帖子结果出错

jiaoxuezl

如题,我在职场淘沙发的帖子,点击发布后跳出一个错误界面,然后多时了几次,结果过了一会儿跳出好几个帖子,麻烦斑竹删掉多余的,保留一个即可,谢谢


nwpuer
jiaoxuezl

Server Error in '/' Application.

Cannot insert the value NULL into column 'IsIgnored', table 'OpenlabDB.forums.Users'; column does not allow nulls. INSERT fails.
The statement has been terminated.


Description: 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.



Exception Details: System.Data.SqlClient.SqlException:
Cannot insert the value NULL into column 'IsIgnored', table
'OpenlabDB.forums.Users'; column does not allow nulls. INSERT fails.
The statement has been terminated.


Source Error:








An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.




Stack Trace:





[SqlException (0x80131904): Cannot insert the value NULL into column 'IsIgnored', table 'OpenlabDB.forums.Users'; column does not allow nulls. INSERT fails. The statement has been terminated.]

System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +1753986
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5296058
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +558
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +1682
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +269
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite) +1379
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +175
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) +205
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +160
Openlab.SqlHelper.ExecuteNonQuery(SqlConnection conn, CommandType commandType, String name, SqlParameter[] parameters) in c:\a\src\src\Openlab\Helper\SqlHelper.cs:101
Openlab.SqlHelper.ExecuteNonQuery(SqlConnection conn, String cmdText, SqlParameter[] parameters) in c:\a\src\src\Openlab\Helper\SqlHelper.cs:86
Openlab.Forums.ForumsDataAccess.NewThread(Int32 forumId, ForumPost postToAdd) in c:\a\src\src\Openlab\Forums\ForumsDataAccess.cs:346
Openlab.Forums.PostManager.NewPost(Forum forum, ForumPost post, User user) in c:\a\src\src\Openlab\Forums\PostManager.cs:86
Openlab.Web.Controllers.ForumsController.NewPost(NewPostModel model) in c:\a\src\src\Openlab.Web\Controllers\ForumsController.cs:323
lambda_method(Closure , ControllerBase , Object[] ) +104
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +182
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +28
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +58
System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +225
System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +225
System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +24
System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +99
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +14
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +39
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +29
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +25
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +31
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9629296
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


nwpuer
宝玉

谢谢反馈,已经修复,请确认


Thanks!


早睡早起身体好!
呵呵happy呵呵

我发现一个小问题,为什么点replay后,不能回复,页面是灰色的,不能输入文字,点一下就会回到帖子页面


ps:提一个小小的建议,希望在首页头像下面把昵称显示出来,不然光看头像有点不知道是谁回复的帖子


辛苦宝玉了!!


人不是死了,就是在死的路上……
宝玉
你浏览器版本?如果IE6甚至IE7可能不支持,建议使用谷歌浏览器Chrome。理论上来说,点reply会弹出快速恢复的窗口!

首页包括看帖子页面还会再改,会加上昵称,现在属于过度
呵呵happy呵呵 #4
我发现一个小问题,为什么点replay后,不能回复,页面是灰色的,不能输入文字,点一下就会回到帖子页面 ps:提一个小小的建议,希望在首页头像下面把昵称显示出来,不然光看头像有点不知道是谁回复的帖子 辛苦宝玉了!!

早睡早起身体好!