PC Review


Reply
Thread Tools Rate Thread

Access Database crashes

 
 
=?Utf-8?B?Um9nZXJNYW5pY2NpYUBlYnM=?=
Guest
Posts: n/a
 
      11th Oct 2006
I have developed an access database from scratch. Periodically, 1 week or 2
weeks, the database will crash. I get the error message "Microsoft Access
has encountered a problem and needs to be closed." I select the option to
compact and repair the database. The database opens fine. I select ctrl g
to open the debug window, the database crashes again. I am not able to do
anything with the database.

Next time I open the database, there is one module (module1) that I delete.
Once I delete this module (which contains the mouse wheel disable code on the
Microsoft website), I am able to get to the code window. I compile the
database without error. I re-import the module1. I am able to work in the
database in design mode without a problem. I start/open any form in runtime
mode, Microsoft Access just disappears/closes from my computer. When I try
to open the database again, I get the same results, Microsoft Access starts,
then disappears. However, if I reboot my computer the problem goes away. I
am able to use the database without problem for another week or two until the
problem happens again. This has been an on going problem for 2 months.

The database is now going into beta, and will go live shortly.

Does anyone have any suggestions?

--
Roger Maniccia
emdeon
26 Century Blvd
Nashville, Tenn
615-886-9031
 
Reply With Quote
 
 
 
 
Bill Mosca, MS Access MVP
Guest
Posts: n/a
 
      11th Oct 2006
Roger

This might be caused by fragmented code.

After backing up the file, run a decompile on the database. Use a run
command starting with your Access exe similare to this:
"C:\Program Files\Microsoft Office\Office11\msaccess.exe" /decompile
"C:\YourDBfile.mdb"

This will strip out any code fragments. Compact the db, compile and close.
You should see quite a decrease in file size.

Re-open it the regular way.

--
Bill Mosca, MS Access MVP


"RogerManiccia@ebs" <(E-Mail Removed)> wrote in message
newsAEA2CD3-5EFA-4E3B-A86A-(E-Mail Removed)...
>I have developed an access database from scratch. Periodically, 1 week or
>2
> weeks, the database will crash. I get the error message "Microsoft Access
> has encountered a problem and needs to be closed." I select the option to
> compact and repair the database. The database opens fine. I select ctrl
> g
> to open the debug window, the database crashes again. I am not able to do
> anything with the database.
>
> Next time I open the database, there is one module (module1) that I
> delete.
> Once I delete this module (which contains the mouse wheel disable code on
> the
> Microsoft website), I am able to get to the code window. I compile the
> database without error. I re-import the module1. I am able to work in
> the
> database in design mode without a problem. I start/open any form in
> runtime
> mode, Microsoft Access just disappears/closes from my computer. When I
> try
> to open the database again, I get the same results, Microsoft Access
> starts,
> then disappears. However, if I reboot my computer the problem goes away.
> I
> am able to use the database without problem for another week or two until
> the
> problem happens again. This has been an on going problem for 2 months.
>
> The database is now going into beta, and will go live shortly.
>
> Does anyone have any suggestions?
>
> --
> Roger Maniccia
> emdeon
> 26 Century Blvd
> Nashville, Tenn
> 615-886-9031



 
Reply With Quote
 
=?Utf-8?B?SmVycnkgV2hpdHRsZQ==?=
Guest
Posts: n/a
 
      11th Oct 2006
Bill Mosca could certainly be right. There are a few other things that could
cause corruption problems too.

Tony Toews has an excellent web page on database corruption.
http://www.granite.ab.ca/access/corruptmdbs.htm

Allen Brown also has excellent info on corruption.
http://allenbrowne.com/ser-47.html

I have a white paper in a Word document named Fix Corrupt Access Database
towards the bottom this page:
http://www.rogersaccesslibrary.com/OtherLibraries.asp
--
Jerry Whittle
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"RogerManiccia@ebs" wrote:

> I have developed an access database from scratch. Periodically, 1 week or 2
> weeks, the database will crash. I get the error message "Microsoft Access
> has encountered a problem and needs to be closed." I select the option to
> compact and repair the database. The database opens fine. I select ctrl g
> to open the debug window, the database crashes again. I am not able to do
> anything with the database.
>
> Next time I open the database, there is one module (module1) that I delete.
> Once I delete this module (which contains the mouse wheel disable code on the
> Microsoft website), I am able to get to the code window. I compile the
> database without error. I re-import the module1. I am able to work in the
> database in design mode without a problem. I start/open any form in runtime
> mode, Microsoft Access just disappears/closes from my computer. When I try
> to open the database again, I get the same results, Microsoft Access starts,
> then disappears. However, if I reboot my computer the problem goes away. I
> am able to use the database without problem for another week or two until the
> problem happens again. This has been an on going problem for 2 months.
>
> The database is now going into beta, and will go live shortly.
>
> Does anyone have any suggestions?
>
> --
> Roger Maniccia
> emdeon
> 26 Century Blvd
> Nashville, Tenn
> 615-886-9031

 
Reply With Quote
 
=?Utf-8?B?Um9nZXJNYW5pY2NpYUBlYnM=?=
Guest
Posts: n/a
 
      11th Oct 2006
Bill,

Implementing what you suggested worked. Thank you for your help.
--
Roger Maniccia
emdeon
26 Century Blvd
Nashville, Tenn
615-886-9031


"Bill Mosca, MS Access MVP" wrote:

> Roger
>
> This might be caused by fragmented code.
>
> After backing up the file, run a decompile on the database. Use a run
> command starting with your Access exe similare to this:
> "C:\Program Files\Microsoft Office\Office11\msaccess.exe" /decompile
> "C:\YourDBfile.mdb"
>
> This will strip out any code fragments. Compact the db, compile and close.
> You should see quite a decrease in file size.
>
> Re-open it the regular way.
>
> --
> Bill Mosca, MS Access MVP
>
>
> "RogerManiccia@ebs" <(E-Mail Removed)> wrote in message
> newsAEA2CD3-5EFA-4E3B-A86A-(E-Mail Removed)...
> >I have developed an access database from scratch. Periodically, 1 week or
> >2
> > weeks, the database will crash. I get the error message "Microsoft Access
> > has encountered a problem and needs to be closed." I select the option to
> > compact and repair the database. The database opens fine. I select ctrl
> > g
> > to open the debug window, the database crashes again. I am not able to do
> > anything with the database.
> >
> > Next time I open the database, there is one module (module1) that I
> > delete.
> > Once I delete this module (which contains the mouse wheel disable code on
> > the
> > Microsoft website), I am able to get to the code window. I compile the
> > database without error. I re-import the module1. I am able to work in
> > the
> > database in design mode without a problem. I start/open any form in
> > runtime
> > mode, Microsoft Access just disappears/closes from my computer. When I
> > try
> > to open the database again, I get the same results, Microsoft Access
> > starts,
> > then disappears. However, if I reboot my computer the problem goes away.
> > I
> > am able to use the database without problem for another week or two until
> > the
> > problem happens again. This has been an on going problem for 2 months.
> >
> > The database is now going into beta, and will go live shortly.
> >
> > Does anyone have any suggestions?
> >
> > --
> > Roger Maniccia
> > emdeon
> > 26 Century Blvd
> > Nashville, Tenn
> > 615-886-9031

>
>
>

 
Reply With Quote
 
aaron.kempf@gmail.com
Guest
Posts: n/a
 
      11th Oct 2006
I reccomend not using MDB for anything important.

it's not stable enough for a single record and a single user.

Access Data Projects allow you to re-use a lot of your existing forms
and reports.. but it works against a REAL database _ENGINE_.

MDB doesn't have an engine.
It is for kids.

-Aaron


Jerry Whittle wrote:
> Bill Mosca could certainly be right. There are a few other things that could
> cause corruption problems too.
>
> Tony Toews has an excellent web page on database corruption.
> http://www.granite.ab.ca/access/corruptmdbs.htm
>
> Allen Brown also has excellent info on corruption.
> http://allenbrowne.com/ser-47.html
>
> I have a white paper in a Word document named Fix Corrupt Access Database
> towards the bottom this page:
> http://www.rogersaccesslibrary.com/OtherLibraries.asp
> --
> Jerry Whittle
> Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
>
>
> "RogerManiccia@ebs" wrote:
>
> > I have developed an access database from scratch. Periodically, 1 week or 2
> > weeks, the database will crash. I get the error message "Microsoft Access
> > has encountered a problem and needs to be closed." I select the option to
> > compact and repair the database. The database opens fine. I select ctrl g
> > to open the debug window, the database crashes again. I am not able to do
> > anything with the database.
> >
> > Next time I open the database, there is one module (module1) that I delete.
> > Once I delete this module (which contains the mouse wheel disable code on the
> > Microsoft website), I am able to get to the code window. I compile the
> > database without error. I re-import the module1. I am able to work in the
> > database in design mode without a problem. I start/open any form in runtime
> > mode, Microsoft Access just disappears/closes from my computer. When I try
> > to open the database again, I get the same results, Microsoft Access starts,
> > then disappears. However, if I reboot my computer the problem goes away. I
> > am able to use the database without problem for another week or two until the
> > problem happens again. This has been an on going problem for 2 months.
> >
> > The database is now going into beta, and will go live shortly.
> >
> > Does anyone have any suggestions?
> >
> > --
> > Roger Maniccia
> > emdeon
> > 26 Century Blvd
> > Nashville, Tenn
> > 615-886-9031


 
Reply With Quote
 
Bill Mosca, MS Access MVP
Guest
Posts: n/a
 
      11th Oct 2006
My pleasure, Roger. Whenever I get a database that starts corrupting
frequently, I decompile it. But be careful. It's undocumented and could
theoretically make your file toast.


--
Bill Mosca, MS Access MVP


"RogerManiccia@ebs" <(E-Mail Removed)> wrote in message
news:CD6AE79E-89E0-4F4A-85AD-(E-Mail Removed)...
> Bill,
>
> Implementing what you suggested worked. Thank you for your help.
> --
> Roger Maniccia
> emdeon
> 26 Century Blvd
> Nashville, Tenn
> 615-886-9031
>
>
> "Bill Mosca, MS Access MVP" wrote:
>
>> Roger
>>
>> This might be caused by fragmented code.
>>
>> After backing up the file, run a decompile on the database. Use a run
>> command starting with your Access exe similare to this:
>> "C:\Program Files\Microsoft Office\Office11\msaccess.exe" /decompile
>> "C:\YourDBfile.mdb"
>>
>> This will strip out any code fragments. Compact the db, compile and
>> close.
>> You should see quite a decrease in file size.
>>
>> Re-open it the regular way.
>>
>> --
>> Bill Mosca, MS Access MVP
>>
>>
>> "RogerManiccia@ebs" <(E-Mail Removed)> wrote in message
>> newsAEA2CD3-5EFA-4E3B-A86A-(E-Mail Removed)...
>> >I have developed an access database from scratch. Periodically, 1 week
>> >or
>> >2
>> > weeks, the database will crash. I get the error message "Microsoft
>> > Access
>> > has encountered a problem and needs to be closed." I select the option
>> > to
>> > compact and repair the database. The database opens fine. I select
>> > ctrl
>> > g
>> > to open the debug window, the database crashes again. I am not able to
>> > do
>> > anything with the database.
>> >
>> > Next time I open the database, there is one module (module1) that I
>> > delete.
>> > Once I delete this module (which contains the mouse wheel disable code
>> > on
>> > the
>> > Microsoft website), I am able to get to the code window. I compile the
>> > database without error. I re-import the module1. I am able to work in
>> > the
>> > database in design mode without a problem. I start/open any form in
>> > runtime
>> > mode, Microsoft Access just disappears/closes from my computer. When I
>> > try
>> > to open the database again, I get the same results, Microsoft Access
>> > starts,
>> > then disappears. However, if I reboot my computer the problem goes
>> > away.
>> > I
>> > am able to use the database without problem for another week or two
>> > until
>> > the
>> > problem happens again. This has been an on going problem for 2 months.
>> >
>> > The database is now going into beta, and will go live shortly.
>> >
>> > Does anyone have any suggestions?
>> >
>> > --
>> > Roger Maniccia
>> > emdeon
>> > 26 Century Blvd
>> > Nashville, Tenn
>> > 615-886-9031

>>
>>
>>



 
Reply With Quote
 
aaron.kempf@gmail.com
Guest
Posts: n/a
 
      12th Oct 2006
what this Jerry guy is trying to say is that there are many reasons
that Access MDB 'gets corrupted'.

a) do you run the MDB across a wired network
or
b) do you run the MDB across a wireless network

if either of those are true; you can't have any expectation of
stability or performance.

MDB is DED.

-Aaron




Jerry Whittle wrote:
> Bill Mosca could certainly be right. There are a few other things that could
> cause corruption problems too.
>
> Tony Toews has an excellent web page on database corruption.
> http://www.granite.ab.ca/access/corruptmdbs.htm
>
> Allen Brown also has excellent info on corruption.
> http://allenbrowne.com/ser-47.html
>
> I have a white paper in a Word document named Fix Corrupt Access Database
> towards the bottom this page:
> http://www.rogersaccesslibrary.com/OtherLibraries.asp
> --
> Jerry Whittle
> Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
>
>
> "RogerManiccia@ebs" wrote:
>
> > I have developed an access database from scratch. Periodically, 1 week or 2
> > weeks, the database will crash. I get the error message "Microsoft Access
> > has encountered a problem and needs to be closed." I select the option to
> > compact and repair the database. The database opens fine. I select ctrl g
> > to open the debug window, the database crashes again. I am not able to do
> > anything with the database.
> >
> > Next time I open the database, there is one module (module1) that I delete.
> > Once I delete this module (which contains the mouse wheel disable code on the
> > Microsoft website), I am able to get to the code window. I compile the
> > database without error. I re-import the module1. I am able to work in the
> > database in design mode without a problem. I start/open any form in runtime
> > mode, Microsoft Access just disappears/closes from my computer. When I try
> > to open the database again, I get the same results, Microsoft Access starts,
> > then disappears. However, if I reboot my computer the problem goes away. I
> > am able to use the database without problem for another week or two until the
> > problem happens again. This has been an on going problem for 2 months.
> >
> > The database is now going into beta, and will go live shortly.
> >
> > Does anyone have any suggestions?
> >
> > --
> > Roger Maniccia
> > emdeon
> > 26 Century Blvd
> > Nashville, Tenn
> > 615-886-9031


 
Reply With Quote
 
aaron.kempf@gmail.com
Guest
Posts: n/a
 
      12th Oct 2006
what this Jerry guy is trying to say is that there are many reasons
that Access MDB 'gets corrupted'.

a) do you run the MDB across a wired network
or
b) do you run the MDB across a wireless network

if either of those are true; you can't have any expectation of
stability or performance.

MDB is DED.

-Aaron


Jerry Whittle wrote:
> Bill Mosca could certainly be right. There are a few other things that could
> cause corruption problems too.
>
> Tony Toews has an excellent web page on database corruption.
> http://www.granite.ab.ca/access/corruptmdbs.htm
>
> Allen Brown also has excellent info on corruption.
> http://allenbrowne.com/ser-47.html
>
> I have a white paper in a Word document named Fix Corrupt Access Database
> towards the bottom this page:
> http://www.rogersaccesslibrary.com/OtherLibraries.asp
> --
> Jerry Whittle
> Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
>
>
> "RogerManiccia@ebs" wrote:
>
> > I have developed an access database from scratch. Periodically, 1 week or 2
> > weeks, the database will crash. I get the error message "Microsoft Access
> > has encountered a problem and needs to be closed." I select the option to
> > compact and repair the database. The database opens fine. I select ctrl g
> > to open the debug window, the database crashes again. I am not able to do
> > anything with the database.
> >
> > Next time I open the database, there is one module (module1) that I delete.
> > Once I delete this module (which contains the mouse wheel disable code on the
> > Microsoft website), I am able to get to the code window. I compile the
> > database without error. I re-import the module1. I am able to work in the
> > database in design mode without a problem. I start/open any form in runtime
> > mode, Microsoft Access just disappears/closes from my computer. When I try
> > to open the database again, I get the same results, Microsoft Access starts,
> > then disappears. However, if I reboot my computer the problem goes away. I
> > am able to use the database without problem for another week or two until the
> > problem happens again. This has been an on going problem for 2 months.
> >
> > The database is now going into beta, and will go live shortly.
> >
> > Does anyone have any suggestions?
> >
> > --
> > Roger Maniccia
> > emdeon
> > 26 Century Blvd
> > Nashville, Tenn
> > 615-886-9031


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2003 Database crashes Candace Microsoft Access 1 11th Oct 2008 04:49 AM
Access crashes upon opening a database. =?Utf-8?B?QkI=?= Microsoft Access 5 19th Aug 2008 09:53 AM
Access database crashes trying to save query =?Utf-8?B?Y2hyaXM=?= Microsoft Access Queries 1 18th Jan 2006 07:28 PM
My access database crashes when I run a query =?Utf-8?B?ag==?= Microsoft Access 4 27th Jul 2005 11:07 AM
Database access crashes headware Microsoft ASP .NET 3 8th Jul 2004 11:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:17 PM.