
Arthas_Lee
www.wwefc.com
-
个人空间
相册
- 组别:新手上路
- 性别:
- 来自:
- 积分:25
- 帖子:15
- 注册:
2007-02-14
|
列名 'lastpostpmtime' 无效 如何解决啊
运行过升级程序可以解决问题,但是过了几个小时后,又出现了。再次运行升级程序可以暂时解决, 过后又出现同样情况,急死人了。 “/”应用程序中的服务器错误。 列名 'lastpostpmtime' 无效。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Data.SqlClient.SqlException: 列名 'lastpostpmtime' 无效。
源错误:
生成此未处理异常的源代码只能在调试模式中进行编译时显示。若要启用该功能,请执行以下步骤之一,然后请求 URL:
1. 在生成错误的文件的顶部添加一个“Debug=true”指令。示例:
<%@ Page Language="C#" Debug="true" %>
或者:
2. 将以下节添加到应用程序的配置文件中:
<configuration> <system.web> <compilation debug="true"/> </system.web> </configuration>
请注意,第二种方法将使给定应用程序中的所有文件在调试模式下进行编译。第一种方法只使特定文件在调试模式下进行编译。
重要事项:以调试模式运行应用程序肯定会引起内存/性能系统开销。在部署到产品方案中之前,应该确保应用程序已禁用调试。 |
堆栈跟踪:
| [SqlException: 列名 'lastpostpmtime' 无效。] System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +742 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +44 System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +5 System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +38 Discuz.Common.Database.ExecuteDataset(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) +148 Discuz.Common.Database.ExecuteDataset(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +88 Discuz.Forum.OnlineUserFactory.Add(OnlineUserInfo __onlineuserinfo, Int32 timeout) +2306 Discuz.Forum.OnlineUserFactory.CreateGuestUser(Int32 timeout) +214 Discuz.Forum.OnlineUserFactory.UpdateInfo(String passwordkey, Int32 timeout, Int32 uid, String passwd) +442 Discuz.Forum.BasePage..ctor() +1519 Discuz.ForumPage.index..ctor() +74 _ASP.index_aspx..ctor() +6[TargetInvocationException: 调用的目标发生了异常。] System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0 System.Activator.CreateInstance(Type type, Boolean nonPublic) +66 System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath, String inputFile, HttpContext context) +164[HttpException (0x80004005): 未能创建类型为“_ASP.index_aspx”的页。] System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath, String inputFile, HttpContext context) +341 System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String virtualPath, String inputFile, HttpContext context) +43 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String path) +44 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String path, String pathTranslated, Boolean useAppConfig) +699 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +95 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +173 |
 Arthas_Lee 最后编辑于 2007-05-04 15:46:34
|