[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:\labsp\Solution6\WebAppONS\SDK\ONSClient4CPPPINVOKE.cs:118
[TypeInitializationException: “SWIGExceptionHelper”的类型初始值设定项引发异常。]
ons.SWIGExceptionHelper..ctor() +0
ons.ONSClient4CPPPINVOKE..cctor() in D:\labsp\Solution6\WebAppONS\SDK\ONSClient4CPPPINVOKE.cs:125
[TypeInitializationException: “ons.ONSClient4CPPPINVOKE”的类型初始值设定项引发异常。]
ons.ONSClient4CPPPINVOKE.ONSFactory_getInstance() +0
ons.ONSFactory.getInstance() in D:\labsp\Solution6\WebAppONS\SDK\ONSFactory.cs:44
test.OnscSharp.CreateProducer() in D:\labsp\Solution6\WebAppONS\SDK\ConsumerAndProducerForEx.cs:198
WebAppONS.Global.Application_Start(Object sender, EventArgs e) in D:\labsp\Solution6\WebAppONS\Global.asax.cs:23
[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
|