Discuz!NT 2.5 正式版 下载
beta、RC版升级补丁
Comsenz 招聘信息
首届Discuz!NT 模板大赛圆满结束
著名音乐网站SoGua网、分贝网
采用Discuz!NT搭建社区
FIFA Online2官网论坛使用Discuz!NT
游戏城寨论坛使用Discuz!NT搭建
第二届优秀版主评选揭晓
Discuz!NT 2.5正式开源 Discuz!NT文档中心
用户整合说明文档
Discuz!NT亮相微软Tech-Ed 2007
Discuz!NT情景搞笑短片抢先看
1/1页1 跳转到查看:3428
发新话题 回复该主题

安装成功后,个人空间出现以下错误

安装成功后,个人空间出现以下错误

“/”应用程序中的服务器错误。            运行时错误                        说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。           

            详细信息:若要使他人能够在远程计算机上查看此特定错误信息的详细信息,请在位于当前 Web 应用程序根目录下的“web.config”配置文件中创建一个<customErrors> 标记。然后应将此 <customErrors> 标记的“mode”属性设置为“Off”。

           
                      <!-- Web.Config 配置文件 -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>                 
           
            注释: 通过修改应用程序的 <customErrors> 配置标记的“defaultRedirect”属性,使之指向自定义错误页的 URL,可以用自定义错误页替换所看到的当前错误页。

           
                      <!-- Web.Config 配置文件 -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

TOP

 

回复:安装成功后,个人空间出现以下错误

无人解决?

TOP

 

回复:安装成功后,个人空间出现以下错误

我也是这样的

TOP

 

回复:安装成功后,个人空间出现以下错误

速度解决呀

TOP

 

回复:安装成功后,个人空间出现以下错误

您因该把 <customErrors mode="Off"/>
该为 <customErrors mode="ON"/>在把堆栈信息发上来,我们好分析堆栈信息!
善念刚起,福虽未至,祸已远离;恶念刚生,祸虽未至,福已远去!

TOP

 

回复:安装成功后,个人空间出现以下错误

我去改一下,你等我一下

TOP

 

回复:安装成功后,个人空间出现以下错误

<!--  注意:此节设置错误信息的显示

          "On" 始终显示自定义(友好的)信息。
          "Off" 始终显示详细的 ASP.NET 错误信息。
          "RemoteOnly" 只对不在本地 Web 服务器上运行的
    -->
    <customErrors
    mode="RemoteOnly"
    />
我的配置里面是这样设置的,我一直没改,这也官方的设置

TOP

 

回复:安装成功后,个人空间出现以下错误

人呢,在哪个地方加

TOP

 

回复:安装成功后,个人空间出现以下错误

无法找到该页
您正在搜索的页面可能已经删除、更名或暂时不可用。
--------------------------------------------------------------------------------

请尝试以下操作:

确保浏览器的地址栏中显示的网站地址的拼写和格式正确无误。
如果通过单击链接而到达了该网页,请与网站管理员联系,通知他们该链接的格式不正确。
单击后退按钮尝试另一个链接。
HTTP 错误 404 - 文件或目录未找到。
Internet 信息服务 (IIS)

--------------------------------------------------------------------------------

技术信息(为技术支持人员提供)

转到 Microsoft 产品支持服务并搜索包括“HTTP”和“404”的标题。
打开“IIS 帮助”(可在 IIS 管理器 (inetmgr) 中访问),然后搜索标题为“网站设置”、“常规管理任务”和“关于自定义错误消息”的主题。

TOP

 

回复:安装成功后,个人空间出现以下错误

“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10 `tid`, `title` FROM `mym_topics`  WHERE `displayorder`>=0 AND `closed`<>1 ORD' at line 1
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10 `tid`, `title` FROM `mym_topics`  WHERE `displayorder`>=0 AND `closed`<>1 ORD' at line 1

源错误:

只有在调试模式下进行编译时,生成此未处理异常的源代码才会显示出来。若要启用此功能,请执行以下步骤之一,然后请求 URL:

1. 在产生错误的文件的顶部添加一条“Debug=true”指令。例如:

  <%@ Page Language="C#" Debug="true" %>

或:

2. 将以下的节添加到应用程序的配置文件中:

<configuration>
  <system.web>
      <compilation debug="true"/>
  </system.web>
</configuration>

请注意,第二个步骤将使给定应用程序中的所有文件在调试模式下进行编译;第一个步骤仅使该特定文件在调试模式下进行编译。

重要事项: 以调试模式运行应用程序一定会产生内存/性能系统开销。在部署到生产方案之前,应确保应用程序调试已禁用。 

堆栈跟踪:


[MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10 `tid`, `title` FROM `mym_topics`  WHERE `displayorder`>=0 AND `closed`<>1 ORD' at line 1]
  MySql.Data.MySqlClient.MySqlStream.OpenPacket() +267
  MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) +55
  MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() +48
  MySql.Data.MySqlClient.MySqlDataReader.NextResult() +466
  MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +865
  MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +4
  System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +7
  System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +141
  System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
  System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +86
  Discuz.Data.DbHelper.ExecuteDataset(DbConnection connection, CommandType commandType, String commandText, DbParameter[] commandParameters) +203
  Discuz.Data.DbHelper.ExecuteDataset(CommandType commandType, String commandText, DbParameter[] commandParameters) +219
  Discuz.Data.DbHelper.ExecuteDataset(String commandText) +13
  Discuz.Data.MySql.DataProvider.GetWebSiteAggForumHotTopicList() +33
  Discuz.Aggregation.ForumAggregationData.GetForumHotTopicList() +136
  Discuz.ForumPage.spaceindex.ShowPage() +147
  Discuz.Web.UI.Pages.BasePage..ctor() +3996
  Discuz.ForumPage.spaceindex..ctor() +99
  ASP.aspx_1_spaceindex_aspx..ctor() +10
  __ASP.FastObjectFactory_app_web_az4an90t.Create_ASP_aspx_1_spaceindex_aspx() +20
  System.Web.Compilation.BuildResultCompiledType.CreateInstance() +49
  System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +115
  System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
  System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
  System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139
  System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120
  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

TOP

 
1/1页1 跳转到
发表新主题 回复该主题