Discuz!NT官方社区Discuz!NT错误反馈SQLServer版bug反馈 列名 'lastpostpmtime' 无效 如何解决啊

1  /  1  页   1 跳转 查看:1009

列名 'lastpostpmtime' 无效 如何解决啊

列名 '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
www.wwefc.com
 

回复:列名 'lastpostpmtime' 无效 如何解决啊

我也是这个问题
数据采集50¥/1000条或1个规则,送3000注册会员。火车DZ2.0多用户发布模块50$/个(不加密)qq:77179680
 

回复:列名 'lastpostpmtime' 无效 如何解决啊

请问您的程序是否更新到最新了,因为这个字段是在线表中的字段,如果程序未更新到最新状态的话,会出这样的问题
 
1  /  1  页   1 跳转

版权所有 Discuz!NT官方网站  - Archiver - 产品主页 - 文档中心 - 联系我们  Sitemap

Powered by Discuz!NT 2.2008.201    Copyright © 2001-2008 Comsenz Inc.
Processed in 0 second(s) (Cached).
返顶部