怎样将主人网络与访客网络设备的机子转到访客设备,用我的网,导致太卡,限速都限不了。

VC++(22)
ADO连接数据库,编译到客户机运行时出现CreateInstance报错0x,经查是由于ADO版本不一致引起的。
解决方法将原来stdafx.h中的
#import &c:\Program Files\Common Files\System\ado\msado15.dll& no_namespace rename(&EOF&, &adoEOF&)
#import &c:\Program Files\Common Files\System\ado\msado28.tlb& no_namespace rename(&EOF&, &adoEOF&)
详见微软文章
/zh-cn/kb/2517589
/zh-cn/kb/2640696
但是如果调用CreateParameter的话,还是会报0xC0000005错误,这是由于msado28.tlb引用的是64位版本,要改成32位版本的引用即可。
#import &c:\Program Files&(x86)\Common Files\System\ado\msado28.tlb& no_namespace rename(&EOF&, &adoEOF&)
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:78366次
积分:1159
积分:1159
排名:千里之外
原创:29篇
转载:50篇
评论:26条
(2)(4)(1)(4)(3)(2)(3)(1)(2)(5)(7)(2)(1)(4)(5)(6)(6)(1)(2)(1)(1)(2)(1)(1)(3)(8)后使用快捷导航没有帐号?
浏览&&:&854
回复&&:&1
回复的帖子
16:43:11 [Thread-26] ERROR - 组织初始化后事件派发异常,详细原因请检查日志。cann't create instance. ClassName: nc.impl.ambd.predata.StatusPredataImporter,devModuleCode:uapbd. Please check register info in table pub_eventlistener
nc.vo.pub.BusinessException: 组织初始化后事件派发异常,详细原因请检查日志。cann't create instance. ClassName: nc.impl.ambd.predata.StatusPredataImporter,devModuleCode:uapbd. Please check register info in table pub_eventlistener
& & & & at nc.impl.uap.sf.CreateCorpImpl.doInitData(CreateCorpImpl.java:207)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
& & & & at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
& & & & at java.lang.reflect.Method.invoke(Unknown Source)
& & & & at nc.bs.framework.aop.rt.MethodProceedingJoinpoint$3.invoke(MethodProceedingJoinpoint.java:74)
& & & & at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:184)
& & & & at nc.bs.framework.server.SecurityAspect.aroundMethod1(SecurityAspect.java:45)
& & & & at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
& & & & at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
& & & & at java.lang.reflect.Method.invoke(Unknown Source)
& & & & at nc.bs.framework.aop.rt.AdviceHolder.invoke(AdviceHolder.java:182)
& & & & at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:129)
& & & & at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:135)
& & & & at nc.bs.framework.aop.rt.AspectedProxy.invoke(AspectedProxy.java:59)
& & & & at com.sun.proxy.$Proxy113.doInitData(Unknown Source)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
& & & & at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
& & & & at java.lang.reflect.Method.invoke(Unknown Source)
& & & & at nc.bs.framework.ejb.CMTProxyImpl.delegate(CMTProxyImpl.java:22)
& & & & at nc.itf.framework.ejb.CMTProxyEjbBean.delegate(CMTProxyEjbBean.java:44)
& & & & at nc.itf.framework.ejb.CMTProxy_Local.delegate(CMTProxy_Local.java:70)
& & & & at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
& & & & at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
& & & & at java.lang.reflect.Method.invoke(Unknown Source)
& & & & at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:57)
& & & & at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:36)
& & & & at com.sun.proxy.$Proxy4.delegate(Unknown Source)
& & & & at nc.bs.framework.ejb.CMTEJBServiceHandler.invoke(CMTEJBServiceHandler.java:32)
& & & & at com.sun.proxy.$Proxy114.doInitData(Unknown Source)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
& & & & at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
& & & & at java.lang.reflect.Method.invoke(Unknown Source)
& & & & at nc.bs.framework.rmi.server.RMIHandlerImpl.invokeBeanMethod(RMIHandlerImpl.java:282)
& & & & at nc.bs.framework.rmi.server.RMIHandlerImpl.doHandle(RMIHandlerImpl.java:142)
& & & & at nc.bs.framework.rmi.server.RMIHandlerImpl.handle(RMIHandlerImpl.java:68)
& & & & at nc.monServletDispatcher.doPost(CommonServletDispatcher.java:45)
16:44:31 [Thread-30] ERROR - 组织初始化后事件派发异常,详细原因请检查日志。cann't create instance. ClassName: nc.impl.ambd.predata.StatusPredataImporter,devModuleCode:uapbd. Please check register info in table pub_eventlistener
nc.vo.pub.BusinessException: 组织初始化后事件派发异常,详细原因请检查日志。cann't create instance. ClassName: nc.impl.ambd.predata.StatusPredataImporter,devModuleCode:uapbd. Please check register info in table pub_eventlistener
& & & & at nc.impl.uap.sf.CreateCorpImpl.doInitData(CreateCorpImpl.java:207)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
& & & & at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
& & & & at java.lang.reflect.Method.invoke(Unknown Source)
& & & & at nc.bs.framework.aop.rt.MethodProceedingJoinpoint$3.invoke(MethodProceedingJoinpoint.java:74)
& & & & at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:184)
& & & & at nc.bs.framework.server.SecurityAspect.aroundMethod1(SecurityAspect.java:45)
& & & & at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
& & & & at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
& & & & at java.lang.reflect.Method.invoke(Unknown Source)
& & & & at nc.bs.framework.aop.rt.AdviceHolder.invoke(AdviceHolder.java:182)
& & & & at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:129)
& & & & at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:135)
& & & & at nc.bs.framework.aop.rt.AspectedProxy.invoke(AspectedProxy.java:59)
& & & & at com.sun.proxy.$Proxy113.doInitData(Unknown Source)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
& & & & at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
& & & & at java.lang.reflect.Method.invoke(Unknown Source)
& & & & at nc.bs.framework.ejb.CMTProxyImpl.delegate(CMTProxyImpl.java:22)
& & & & at nc.itf.framework.ejb.CMTProxyEjbBean.delegate(CMTProxyEjbBean.java:44)
& & & & at nc.itf.framework.ejb.CMTProxy_Local.delegate(CMTProxy_Local.java:70)
& & & & at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
& & & & at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
& & & & at java.lang.reflect.Method.invoke(Unknown Source)
& & & & at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:57)
& & & & at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:36)
& & & & at com.sun.proxy.$Proxy4.delegate(Unknown Source)
& & & & at nc.bs.framework.ejb.CMTEJBServiceHandler.invoke(CMTEJBServiceHandler.java:32)
& & & & at com.sun.proxy.$Proxy114.doInitData(Unknown Source)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
& & & & at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
& & & & at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
& & & & at java.lang.reflect.Method.invoke(Unknown Source)
& & & & at nc.bs.framework.rmi.server.RMIHandlerImpl.invokeBeanMethod(RMIHandlerImpl.java:282)
& & & & at nc.bs.framework.rmi.server.RMIHandlerImpl.doHandle(RMIHandlerImpl.java:142)
& & & & at nc.bs.framework.rmi.server.RMIHandlerImpl.handle(RMIHandlerImpl.java:68)
& & & & at nc.monServletDispatcher.doPost(CommonServletDispatcher.java:45)
回复的帖子
电话:010-
地址:北京市海淀区北清路68号
移动客户端下载
微信公众号:yonyouudn
扫描右侧二维码关注我们
专注企业互联网的技术社区
版权所有:用友网络科技股份有限公司82041
京公网网备安4
Powered by Discuz!浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。Activator.CreateInstance Method (System)
CreateInstance Method
Expand the table of content
Activator.CreateInstance Method
.NET Framework (current version)
Creates an instance of the specified type using the constructor that best matches the specified parameters.Namespace:
mscorlib (in mscorlib.dll)NameDescriptionCreates an instance of the type designated by the specified
object.Creates an instance of the type that is designated by the specified
object and activated with the specified custom activation data.Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly and default constructor.Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly and the constructor that best matches the specified parameters.
Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly and the constructor that best matches the specified parameters.Creates an instance of the type whose name is specified, using the named assembly and default constructor.Creates an instance of the type whose name is specified, using the named assembly and the constructor that best matches the specified parameters.
Creates an instance of the type whose name is specified, using the named assembly and the constructor that best matches the specified parameters.Creates an instance of the type whose name is specified, using the named assembly and default constructor.Creates an instance of the specified type using that type's default constructor.Creates an instance of the specified type using the constructor that best matches the specified parameters.Creates an instance of the specified type using the constructor that best matches the specified parameters.Creates an instance of the specified type using that type's default constructor.Creates an instance of the specified type using the constructor that best matches the specified parameters.Creates an instance of the specified type using the constructor that best matches the specified parameters.Creates an instance of the type designated by the specified generic type parameter, using the parameterless constructor.
IN THIS ARTICLE
Is this page helpful?
Additional feedback?
1500 characters remaining
Thank you!
We appreciate your feedback.

我要回帖

更多关于 访客设备 的文章

 

随机推荐