登录特讯家园与朋友互动、家族族斗、秀萌炫酷、流行小说、好玩游戏赢豪礼!

.【特讯家园】公坛8月签到活动
广场>家族交流区
这是?
Server Error in '/' Application.

在此上下文中不允许使用名称 "忘忧谷"。有效表达式包括常量、常量表达式和变量(在某些上下文中)。不允许使用列名。

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: 在此上下文中不允许使用名称 "忘忧谷"。有效表达式包括常量、常量表达式和变量(在某些上下文中)。不允许使用列名。

Source Error:


Line 32: else
Line 33: {
Line 34: int rid = DataHelper.ExecuteNonQuery("1", "INSERT INTO [wap_bbs_favor] ([uid],[type],[name],[bbsid],[topic]) VALUES (" + NuoHa.MyId + ",4," + bname + "," + bid + ",0)");
Line 35: Response.Write("收藏成功!<a href=\"" + NuoHa.SitePath + "home/favor.aspx?id=" + rid + "" + NuoHa.String1 + "\">查看</a><br/>\r\n");
Line 36: }

Source File: d:\www\web\txqq789.com_cgopekleedexhf0t04oz\wwwroot\wml\bbs\family_favor.aspx.cs Line: 34

Stack Trace:


[SqlException (0x80131904): 在此上下文中不允许使用名称 "忘忧谷"。有效表达式包括常量、常量表达式和变量(在某些上下文中)。不允许使用列名。]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +212
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +81
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +551
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4120
System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) +846
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) +269
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +141
NuoHa.Data.DataHelper.ExecuteNonQuery(String ty, String sql) +206
bbs_family_favor.Page_Load(Object sender, EventArgs e) in d:\www\web\txqq789.com_cgopekleedexhf0t04oz\wwwroot\wml\bbs\family_favor.aspx.cs:34
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
System.Web.UI.Control.OnLoad(EventArgs e) +61
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2645

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34249
..锦衣卫犹忆江南月 2015-09-11 19:20:39
推帖.一键分享.收藏.复制本帖链接.举报该帖
回帖列表 返回帖子列表  打赏TA  点赞
2 楼.回复3楼:设副族要多久?..锦衣卫犹忆江南月2015-09-11 19:28:00 回复
1 楼.回复1楼:还是一样..锦衣卫犹忆江南月2015-09-11 19:25:16 回复
全部回帖(2)

广场>家族交流区