PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

xiyou在吗?前台显示正常,后台无法登陆。帮忙看看。 [复制链接]

1#
使用的是官方最新版本。上传后可以正常安装。前台显示完全正常,等候后台输入账号和密码后点登陆出现如下提示:

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

无法加载 DLL“rasapi32.dll”: 动态链接库(DLL)初始化例程失败。 (异常来自 HRESULT:0x8007045A)。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.DllNotFoundException: 无法加载 DLL“rasapi32.dll”: 动态链接库(DLL)初始化例程失败。 (异常来自 HRESULT:0x8007045A)。

源错误:

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

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

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

或:

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

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

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

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

堆栈跟踪:


[DllNotFoundException: 无法加载 DLL“rasapi32.dll”: 动态链接库(DLL)初始化例程失败。 (异常来自 HRESULT:0x8007045A)。]
   System.Net.RasHelper.RasEnumConnections(RASCONN[] lprasconn, UInt32& lpcb, UInt32& lpcConnections) +0
   System.Net.RasHelper.GetCurrentConnectoid() +105
   System.Net.AutoDetector.Initialize() +151
   System.Net.AutoDetector.get_CurrentAutoDetector() +4
   System.Net.AutoWebProxyScriptEngine..ctor(WebProxy proxy, Boolean useRegistry) +54
   System.Net.WebProxy.UnsafeUpdateFromRegistry() +33
   System.Net.WebProxy..ctor(Boolean enableAutoproxy) +7
   System.Net.Configuration.DefaultProxySectionInternal..ctor(DefaultProxySection section) +441
   System.Net.Configuration.DefaultProxySectionInternal.GetSection() +109

[ConfigurationErrorsException: 创建在“system.net/defaultProxy”配置节中指定的 Web 代理时出错。]
   System.Net.Configuration.DefaultProxySectionInternal.GetSection() +207
   System.Net.WebRequest.get_InternalDefaultWebProxy() +125
   System.Net.HttpWebRequest..ctor(Uri uri, ServicePoint servicePoint) +184
   System.Net.HttpRequestCreator.Create(Uri Uri) +26
   System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase) +216
   System.Net.WebRequest.Create(String requestUriString) +44
   PageAdmin.masterlogin.xd9dc40336cb754b6() +1801
   PageAdmin.masterlogin.x0c10d87f1cc88e3b() +272
   PageAdmin.masterlogin.x4b531208dfadf445() +91
   PageAdmin.masterlogin.Page_Load(Object src, EventArgs e) +128
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6741
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
   System.Web.UI.Page.ProcessRequest() +80
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.master_login_aspx.ProcessRequest(HttpContext context) +4
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.3603; ASP.NET 版本:2.0.50727.3082
网址www.zhongquan.net 后台admin admin
最后编辑huaqun 最后编辑于 2010-01-13 12:56:50
分享 转发
TOP
2#

你是用代理??
代理就打开web.config中加上
<system.net>
    <defaultProxy>
      <proxy usesystemdefault="false" />
    </defaultProxy>
  </system.net>
TOP
发新话题 回复该主题