产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

急,xiyou老大,首页登录出错 [复制链接]

1#
前几天还好好的,最近几天一直这样,首页有时可以进入,有时进入不了。内容页在首页不能进入的时候也是可以进入的,不过会提示AJAX http 500错误。

这是网站首页出错代码:
Server Error in '/' Application.

Unspecified error

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.OleDb.OleDbException: Unspecified error

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

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

or:

2) Add the following section to the configuration file of your application:

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

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[OleDbException (0x80004005): Unspecified error]
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +972201
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +86
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +29
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +4866784
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.OleDb.OleDbConnection.Open() +40
   PageAdmin.lanmu.Load_PageAdmin(Int32 SiteId, Int32 Lanmu_Id, Int32 SubLanmu_Id) +1602
   ASP.index_aspx.OnInit(EventArgs e) +13
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

Version Information: Microsoft .NET Framework Version:2.0.50727.4241; ASP.NET Version:2.0.50727.4223
后台也不能进入
我试过把数据库下载下来,不过用ACCESS全部表都是可以打开的,该怎么解决!看到我啊看到我~~~~
分享 转发
TOP
2#

网站时好时坏的,有时是可以正常进入的,应该不是目录权限的问题,是不是数据库有坏道?网站服务器的话我看过和我在同一个服务器上的网站都没有出现500错误的,首页错误上说:一个未处理的异常发生在执行当前的web请求。请检阅堆栈跟踪提供更多有关误差,而它起源于代码。这个到底是哪方面的问题,求指导啊!都快被折磨的崩溃了。
TOP
发新话题 回复该主题