产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

安装出错请版主或高手指点 [复制链接]

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.master_login.xd9dc40336cb754b6() +1530
   PageAdmin.master_login.x0c10d87f1cc88e3b() +220
   PageAdmin.master_login.x303150620dddbc01() +111
   PageAdmin.master_login.x4b531208dfadf445() +72
   PageAdmin.master_login.xb99c27096be25a53() +36
   PageAdmin.master_login.Page_Load(Object src, EventArgs e) +280
   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
分享 转发
TOP
发新话题 回复该主题