zoukankan      html  css  js  c++  java
  • Error-ASP.NET:无法加载 DLL“ONSClient4CPP”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)

    ylbtech-Error-ASP.NET:无法加载 DLL“ONSClient4CPP”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)
    1.返回顶部
    1、

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


    无法加载 DLL“ONSClient4CPP”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。

    说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

    异常详细信息: System.DllNotFoundException: 无法加载 DLL“ONSClient4CPP”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。

    源错误:

    行 116:                                systemDelegate);
    行 117:
    行 118:      SWIGRegisterExceptionCallbacksArgument_ONSClient4CPP(
    行 119:                                argumentDelegate,
    行 120:                                argumentNullDelegate,

    源文件: D:lab2aliyun-mq-windows-net-sdkdemodemo_aspnetSDKONSClient4CPPPINVOKE.cs    行: 118

    堆栈跟踪:

    [DllNotFoundException: 无法加载 DLL“ONSClient4CPP”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。]
       ons.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_ONSClient4CPP(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate) +0
       ons.SWIGExceptionHelper..cctor() in D:lab2aliyun-mq-windows-net-sdkdemodemo_aspnetSDKONSClient4CPPPINVOKE.cs:118
    
    [TypeInitializationException: “SWIGExceptionHelper”的类型初始值设定项引发异常。]
       ons.SWIGExceptionHelper..ctor() +0
       ons.ONSClient4CPPPINVOKE..cctor() in D:lab2aliyun-mq-windows-net-sdkdemodemo_aspnetSDKONSClient4CPPPINVOKE.cs:125
    
    [TypeInitializationException: “ons.ONSClient4CPPPINVOKE”的类型初始值设定项引发异常。]
       ons.ONSClient4CPPPINVOKE.ONSFactory_getInstance() +0
       ons.ONSFactory.getInstance() in D:lab2aliyun-mq-windows-net-sdkdemodemo_aspnetSDKONSFactory.cs:44
       test.OnscSharp.CreateProducer() in D:lab2aliyun-mq-windows-net-sdkdemodemo_aspnetExample.cs:153
       demo_aspnet.Global.Application_Start(Object sender, EventArgs e) in D:lab2aliyun-mq-windows-net-sdkdemodemo_aspnetGlobal.asax.cs:21
    
    [HttpException (0x80004005): “ons.ONSClient4CPPPINVOKE”的类型初始值设定项引发异常。]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +520
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +176
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +353
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341
    
    [HttpException (0x80004005): “ons.ONSClient4CPPPINVOKE”的类型初始值设定项引发异常。]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688
    


    版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3062.0
    2、
    2.返回顶部
     
    3.返回顶部
     
    4.返回顶部
     
    5.返回顶部
     
     
    6.返回顶部
     
    warn 作者:ylbtech
    出处:http://ylbtech.cnblogs.com/
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    mysql 新用户添加和权限
    分治法
    插入排序
    猴子分桃问题
    关于PHP面向对象 静态方法的疑问
    php中static 静态变量和普通变量的区别
    php函数引用返回
    redis 限制请求次数的写法
    cas单点登录认证原理
    聚簇索引和非聚簇索引
  • 原文地址:https://www.cnblogs.com/storebook/p/12515385.html
Copyright © 2011-2022 走看看