当我从vb.net中的mysql连接海量数据时出错 [英] Error when i connect massive data from mysql in vb.net

查看:77
本文介绍了当我从vb.net中的mysql连接海量数据时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

上下文0x207e90''已断开连接.从当前上下文(上下文0x207d20)释放接口,这可能会导致损坏或数据丢失.为避免此问题,请确保所有上下文/单元都保持活动状态,直到应用程序完全代表其中驻留的COM组件的RuntimeCallableWrappers完全完成应用程序为止.

请一些帮助

Context 0x207e90'' is disconnected. Releasing the interfaces from the current context (context 0x207d20).This may cause corruption or data loss. To avoid this problem, please ensure that all contexts/apartments stay alive until the applicationis completely done with the RuntimeCallableWrappers that represent COM components that liveinside them.

Please some one help

推荐答案

,这意味着您在某个地方使用了COM组件.该COM组件是在不是您的主线程的线程中创建的,并且该线程已同时完成.
解决方案是在主线程中创建COM组件.
由于您没有提供更多信息,因此我无法提供更详细的解决方案.
That means that you use a COM component somewhere. That COM component was created in a thread which is not your main thread, and that thread has finished meanwhile.
The solution is to create the COM component in the main thread.
Since you did not provide more info, I cannot give a more detailled solution.


这篇关于当我从vb.net中的mysql连接海量数据时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆