如何以“正常”方式破坏MS Access数据库文件? [英] How to corrupt a MS Access database file in a 'normal' way?

查看:69
本文介绍了如何以“正常”方式破坏MS Access数据库文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

情况如下:我编写了一个VB程序,它使用jet引擎将所有

信息存储在一个Access数据库文件中。它b / b
运作良好,但是我的一个海关报告说这个程序存在一些

问题。我查了一下,日志文件显示

数据库已损坏。


客户告诉我没有非法操作,比如拔出

插件,或者通过任务管理器终止程序...


那么是否有任何可能的正常操作可能会破坏

数据库?比如''奇怪的人物''我猜? (定制来自

意大利,有没有特别的意大利人可以做到这一点?)


当然有可能是有一些错误programm,

这可能导致错误可能会破坏数据库文件,但仍然,如何?b $ b怎么样?无论如何,该计划并没有暴力停止......


任何人都可以对此有所了解?因为很难和意大利人交谈......所以我不能完全调查''他们做了什么

该计划''我必须检查程序和潜在的操作

可能会破坏数据库。


非常感谢。

解决方案

shineofleo写道:


客户告诉我没有'非法''操作,如拉出

插件,或通过任务管理器终止程序...


当然可能存在一些错误programm,

这可能导致错误可能会破坏数据库文件,但仍然,如何?b $ b怎么样?无论如何,这个节目并没有暴力停止......


因为与意大利人谈话相当困难。



是否有人对涉及的电脑进行了对接?


百分之五十的人不知道非法或暴力

计算机活动。其他百分之五十的时间他们撒谎




大声笑,谢谢你的幽默回复。


老实说,我确实希望他们说实话,对我来说这更容易。

。此外,这个软件已经使用了很长时间了,并且没有其他客户抱怨这个。


但是,这次他们说类似的问题重复了4次....

我第一次拿回数据库文件,并尝试在

Access中打开它,据说''已损坏数据库文件,你想修复吗?''我

选择修复,然后一切恢复正常。但是4次......我开始担心我的代码中是否出现问题。


好​​吧,我不认为他们会做4次愚蠢的事......或者,

也许......谁知道......


但我只是想知道可能的答案对于这个问题,假设客户说的是实话。


Lyle Fairfield:


shineofleo写道:


客户告诉我没有'非法''操作,比如拉出插头,或者b
通过任务管理器杀死程序...


当然程序中可能存在一些错误,

可能导致错误的b可能会破坏数据库文件,但仍然如此?b $ b b怎么样?无论如何,这个节目并没有暴力停止......


因为与意大利人谈话相当困难。



是否有人在涉及的计算机上对齐?


百分之五十的人没有意识到非法或暴力

计算机活动。另外百分之五十的时间他们撒谎。



" shineofleo" < li ********* @ gmail.comwrote在

新闻:11 ********************** @ 35g2000cwc.googlegro ups.com:


那么有没有可能正常的操作可以破坏

数据库?



不,但是在使用VB应用程序的机器上使用Jet的坏版本可能会导致很大的腐败风险。 Jet 4 SP6或SP8是必需的

可靠的Jet 4操作(SP8是无用的错误修复

SP7; SP7-8没有增加真正的稳定性,只有安全修复使

Jet更不容易执行危险代码。)


-

David W. Fenton http://www.dfenton.com/

usenet at dfenton dot com http://www.dfenton.com/DFA/


Here is the situation: I wrote a VB programm, which stores all the
information in a single Access database file using jet engine. It
worked well, however one of my customs reported that there was some
problems with this programm. I checked, the log files showed that the
database was corrupted.

The customer told me that there no ''illegal'' operation such as pull out
the plug, or kill the programm via task manager...

So is there any possible normal operation which could corrupt the
database? such as ''Weird characters'' I guess? (The custom is from
Italy, is there any special Italian chars could do this?)

Of course it is possible that there are some bugs in the programm,
which possibly caused a error may corrupt the database file, but still,
how? The program wasn''t stopped violently anyway ...

Anyone could give some idea about this? Since it is rather hard to talk
to Italians... So I can not completely investigate ''what they did about
the program''... I have to check the program and potential operations
which may corrupt the database.

Thanks a lot.

解决方案

shineofleo wrote:

The customer told me that there no ''illegal'' operation such as pull out
the plug, or kill the programm via task manager...

Of course it is possible that there are some bugs in the programm,
which possibly caused a error may corrupt the database file, but still,
how? The program wasn''t stopped violently anyway ...

Since it is rather hard to talk to Italians.

Did anyone head-butt the computer in involved?

Fifty per cent of the time people are unaware of illegal or violent
computer activity. The other fifty per cent of the time they lie about
it.


Lol, thank you for your humours reply.

Honestly, I do hope they didn''t tell the truth, which is much easier
for me. In addition, this software has been used for a long time, and
there is no other customers who complained about this.

However, this time they said the similar problem repeated 4 times....
The first time I get the database file back, and tried to open it in
Access, it is said ''corrupted database file, do you want to fix it?'' i
chose fix, then everything went back to normal. But 4 times... I
started to worry about if there is something goes wrong in my code.

Well, I don''t think they would do the stupid thing 4 times... Or,
maybe... who knows...

But I just want to know the possible answer to this question, assuming
that the customers are telling the truth.

Lyle Fairfield :

shineofleo wrote:

The customer told me that there no ''illegal'' operation such as pull out
the plug, or kill the programm via task manager...

Of course it is possible that there are some bugs in the programm,
which possibly caused a error may corrupt the database file, but still,
how? The program wasn''t stopped violently anyway ...

Since it is rather hard to talk to Italians.


Did anyone head-butt the computer in involved?

Fifty per cent of the time people are unaware of illegal or violent
computer activity. The other fifty per cent of the time they lie about
it.


"shineofleo" <li*********@gmail.comwrote in
news:11**********************@35g2000cwc.googlegro ups.com:

So is there any possible normal operation which could corrupt the
database?

No, but bad versions of Jet on the machines using the VB app could
lead to significant risk of corruption. Jet 4 SP6 or SP8 is required
for reliable operation of Jet 4 (SP8 is the bug fix for the useless
SP7; SP7-8 add no real stability, only the security fixes to make
Jet less vulnerable to executing dangerous code).

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/


这篇关于如何以“正常”方式破坏MS Access数据库文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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