Error-ONS:ONS Exception

ylbtech-Error-ONS:ONS Exception
1.返回顶部
·

System.TypeInitializationException
HResult=0x80131534
Message=“ons.ONSClient4CPPPINVOKE”的类型初始值设定项引发异常。
Source=ConsoleApp2
StackTrace:
在 ons.ONSClient4CPPPINVOKE.ONSFactory_getInstance()
在 ons.ONSFactory.getInstance() 在 C:UsersAdministratorsource eposSolution6ConsoleApp2ONSFactory.cs 中: 第 44 行
在 test.OnscSharp.CreateProducer() 在 C:UsersAdministratorsource eposSolution6ConsoleApp2ConsumerAndProducerForEx.cs 中: 第 197 行
在 test.ConsumerAndProducerForEx.Main(String[] args) 在 C:UsersAdministratorsource eposSolution6ConsoleApp2ConsumerAndProducerForEx.cs 中: 第 221 行

内部异常 1:
TypeInitializationException: “SWIGExceptionHelper”的类型初始值设定项引发异常。

内部异常 2:
BadImageFormatException: 试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)

·
2.返回顶部
 
3.返回顶部
 
4.返回顶部
 
5.返回顶部
 
 
6.返回顶部
 
warn 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
原文地址:https://www.cnblogs.com/storebook/p/12517087.html