神秘的数据访问崩溃 [英] Mysterious Data-access crash

查看:57
本文介绍了神秘的数据访问崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在程序开发的某个时刻,我尝试将数据库对象和例程添加到程序中,以跟踪歌曲名称,标题,艺术家,路径等.它并没有达到我想要的效果因此,我刚刚将其删除.我从所有表单中删除了控件,删除了代码,然后从项目中删除了所有组件和引用.

但是由于某种原因,我仍然会崩溃,然后说对象已与其客户端之一断开连接".什么东西显然在某个地方仍然有一个杂散的数据库引用,该引用随机关闭并崩溃了我的程序.

问题是,如何确定哪个对象正在执行此操作?这似乎是完全随机的,崩溃与用户正在执行的任何事件无关.我将继续搜索,但是如果有人对此有任何经验,请告诉我什么对您有用.谢谢.

At one point in the development of my program, I tried adding database objects and routines into my program, to keep track of song names, titles, artists, paths, etc. It didn''t work out like I wanted it to so I just removed them. I deleted the controls from all my forms, I removed the code, and then removed all the components and references from my project.

But for some reason, I''m still getting a crash now and then that says "The object has disconnect from one of its clients". What object? Apparently there''s still a stray database reference somewhere that''s going off randomly and crashing my program.

The question is, how to I figure out which object is doing this? It seems to be totally random, a crash not associated with any event the user is doing. I''m gonna keep searching, but if anyone''s got any experience with this, please let me know what worked for you. Thanks.

推荐答案

创建一个新的解决方案,并开始一次添加一些东西,直到它再次崩溃为止.
Create a new solution and start adding stuff back one thing at a time until it starts crashing again.


这篇关于神秘的数据访问崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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