只有在调试模式下进行编译时,生成此未处理异常的源代码才会显示出来。若要启用此功能,请执行以下步骤之一,然后请求 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() +143 System.Net.AutoDetector.get_CurrentAutoDetector() +4 System.Net.AutoWebProxyScriptEngine..ctor(WebProxy proxy, Boolean useRegistry) +54 System.Net.WebProxy.UnsafeUpdateFromRegistry() +31 System.Net.WebProxy..ctor(Boolean enableAutoproxy) +7 System.Net.Configuration.DefaultProxySectionInternal..ctor(DefaultProxySection section) +992 System.Net.Configuration.DefaultProxySectionInternal.GetSection() +96[ConfigurationErrorsException: 创建在“system.net/defaultProxy”配置节中指定的 Web 代理时出错。] System.Net.Configuration.DefaultProxySectionInternal.GetSection() +195 System.Net.WebRequest.get_InternalDefaultWebProxy() +92 System.Net.HttpWebRequest..ctor(Uri uri, ServicePoint servicePoint) +184 System.Net.HttpRequestCreator.Create(Uri Uri) +26 System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase) +298 System.Net.WebRequest.Create(String requestUriString) +81 PageAdmin.masterlogin.Get_PageAdmin() +1498 PageAdmin.masterlogin.Check_Version() +415 PageAdmin.masterlogin.validate_login(Object Src, EventArgs e) +10 System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +86 System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115 System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7248 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213 System.Web.UI.Page.ProcessRequest() +86 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.master_login_aspx.ProcessRequest(HttpContext context) +4 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 |