dbTalk Databases Forums  

A2K: Failure to compact smoothy worries me

comp.databases.ms-access comp.databases.ms-access


Discuss A2K: Failure to compact smoothy worries me in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
buckskin
 
Posts: n/a

Default A2K: Failure to compact smoothy worries me - 01-20-2011 , 06:45 PM






On my last decompile, compact, compile, compact routine the following
happened.

I compacted using the option in the Tools menu and got this message;

"Cannot open database Z:\Dev Folder\db1.mdb'. It may not be a database that
your application recognizes, or the file may be corrupt."

I then open the code editor and compile. Finally I compact again.

I'm left with a source file that seems small and quicker and, apparently, in
perfect working order and an undeleted db1.mdb file.

So I'm puzzled here. Has this worked? Should I be worried? Is this
fixable?

Reply With Quote
  #2  
Old   
PW
 
Posts: n/a

Default Re: A2K: Failure to compact smoothy worries me - 01-20-2011 , 10:18 PM






On Fri, 21 Jan 2011 00:45:39 -0000, "buckskin"
<buckskin (AT) mailinator (DOT) com> wrote:

Quote:
On my last decompile, compact, compile, compact routine the following
happened.

I compacted using the option in the Tools menu and got this message;

"Cannot open database Z:\Dev Folder\db1.mdb'. It may not be a database that
your application recognizes, or the file may be corrupt."

I then open the code editor and compile. Finally I compact again.

I'm left with a source file that seems small and quicker and, apparently, in
perfect working order and an undeleted db1.mdb file.

So I'm puzzled here. Has this worked? Should I be worried? Is this
fixable?


Looks like Microsoft hasn't addressed error #3049 two versions later
than A2K3. I posted a similar message a couple days ago with no
replies (and could not find any help on the internet).

-pw

Reply With Quote
  #3  
Old   
buckskin
 
Posts: n/a

Default Re: A2K: Failure to compact smoothy worries me - 01-21-2011 , 07:17 AM



"PW" <emailaddyinsig (AT) ifIremember (DOT) com> wrote

Quote:
On Fri, 21 Jan 2011 00:45:39 -0000, "buckskin"
buckskin (AT) mailinator (DOT) com> wrote:

On my last decompile, compact, compile, compact routine the following
happened.

I compacted using the option in the Tools menu and got this message;

"Cannot open database Z:\Dev Folder\db1.mdb'. It may not be a database
that
your application recognizes, or the file may be corrupt."

I then open the code editor and compile. Finally I compact again.

I'm left with a source file that seems small and quicker and, apparently,
in
perfect working order and an undeleted db1.mdb file.

So I'm puzzled here. Has this worked? Should I be worried? Is this
fixable?



Looks like Microsoft hasn't addressed error #3049 two versions later
than A2K3. I posted a similar message a couple days ago with no
replies (and could not find any help on the internet).

-pw
Is a potential fix to export all objects to a new db? I've always worried
about the hassle of doing that, setting up the new relationships etc.

Reply With Quote
  #4  
Old   
Phil
 
Posts: n/a

Default Re: A2K: Failure to compact smoothy worries me - 01-21-2011 , 09:21 AM



On 21/01/2011 13:17:28, "buckskin" wrote:
Quote:
"PW" <emailaddyinsig (AT) ifIremember (DOT) com> wrote in message
news:q42ij65hqlta0vkf5hmua33pdn4k3uoera (AT) 4ax (DOT) com...
On Fri, 21 Jan 2011 00:45:39 -0000, "buckskin"
buckskin (AT) mailinator (DOT) com> wrote:

On my last decompile, compact, compile, compact routine the following
happened.

I compacted using the option in the Tools menu and got this message;

"Cannot open database Z:\Dev Folder\db1.mdb'. It may not be a database
that
your application recognizes, or the file may be corrupt."

I then open the code editor and compile. Finally I compact again.

I'm left with a source file that seems small and quicker and, apparently,
in
perfect working order and an undeleted db1.mdb file.

So I'm puzzled here. Has this worked? Should I be worried? Is this
fixable?



Looks like Microsoft hasn't addressed error #3049 two versions later
than A2K3. I posted a similar message a couple days ago with no
replies (and could not find any help on the internet).

-pw

Is a potential fix to export all objects to a new db? I've always worried
about the hassle of doing that, setting up the new relationships etc.


IMHO Best way to repair a corrupt Db. Relationships will be imported
automatically. Only thing you may have to set up is VBA references, so make
sure you compile any code to check that the reference libraries are there.

Phil

Reply With Quote
  #5  
Old   
buckskin
 
Posts: n/a

Default Re: A2K: Failure to compact smoothy worries me - 01-21-2011 , 11:29 AM



"Phil" <phil (AT) stantonfamily (DOT) co.uk> wrote

Quote:
IMHO Best way to repair a corrupt Db. Relationships will be imported
automatically. Only thing you may have to set up is VBA references, so
make
sure you compile any code to check that the reference libraries are there.

Phil
Really? OK, I shall give it a whirl. Thanks.

Reply With Quote
  #6  
Old   
PW
 
Posts: n/a

Default Re: A2K: Failure to compact smoothy worries me - 01-21-2011 , 12:49 PM



On Fri, 21 Jan 2011 13:17:27 -0000, "buckskin"
<buckskin (AT) mailinator (DOT) com> wrote:

Quote:
"PW" <emailaddyinsig (AT) ifIremember (DOT) com> wrote in message
news:q42ij65hqlta0vkf5hmua33pdn4k3uoera (AT) 4ax (DOT) com...
On Fri, 21 Jan 2011 00:45:39 -0000, "buckskin"
buckskin (AT) mailinator (DOT) com> wrote:

On my last decompile, compact, compile, compact routine the following
happened.

I compacted using the option in the Tools menu and got this message;

"Cannot open database Z:\Dev Folder\db1.mdb'. It may not be a database
that
your application recognizes, or the file may be corrupt."

I then open the code editor and compile. Finally I compact again.

I'm left with a source file that seems small and quicker and, apparently,
in
perfect working order and an undeleted db1.mdb file.

So I'm puzzled here. Has this worked? Should I be worried? Is this
fixable?



Looks like Microsoft hasn't addressed error #3049 two versions later
than A2K3. I posted a similar message a couple days ago with no
replies (and could not find any help on the internet).

-pw

Is a potential fix to export all objects to a new db? I've always worried
about the hassle of doing that, setting up the new relationships etc.


We did that with our data. It did not get rid of the error - no
change whatsoever. Perhaps we should try to do the same with the code
database.

-paulw

Reply With Quote
  #7  
Old   
PW
 
Posts: n/a

Default Re: A2K: Failure to compact smoothy worries me - 01-23-2011 , 07:18 PM



On Fri, 21 Jan 2011 00:45:39 -0000, "buckskin"
<buckskin (AT) mailinator (DOT) com> wrote:

Quote:
On my last decompile, compact, compile, compact routine the following
happened.

I compacted using the option in the Tools menu and got this message;

"Cannot open database Z:\Dev Folder\db1.mdb'. It may not be a database that
your application recognizes, or the file may be corrupt."

I then open the code editor and compile. Finally I compact again.

I'm left with a source file that seems small and quicker and, apparently, in
perfect working order and an undeleted db1.mdb file.

So I'm puzzled here. Has this worked? Should I be worried? Is this
fixable?

So far so good with recompiling then compacting the CODE database and
making an MDE from that.

Fingers and toes crossed.

-paulw

Reply With Quote
  #8  
Old   
Tony Toews
 
Posts: n/a

Default Re: A2K: Failure to compact smoothy worries me - 01-25-2011 , 10:45 PM



On Fri, 21 Jan 2011 15:21:07 GMT, "Phil" <phil (AT) stantonfamily (DOT) co.uk>
wrote:

Quote:
IMHO Best way to repair a corrupt Db. Relationships will be imported
automatically.
The layout of the relationships window will not copy automatically.
That is it will be laid out as a grid. Real pain when you have more
relationships than can fit on the screen.

Use the sysrels utility at the following location to copy the table
relationships layout window
http://www.trigeminal.com/lang/1033/...p?ItemID=12#12
Or use Save Restore Modify Relationship Window at
http://www.lebans.com/saverelationshipview.htm

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/

Reply With Quote
  #9  
Old   
buckskin
 
Posts: n/a

Default Re: A2K: Failure to compact smoothy worries me - 01-31-2011 , 06:16 AM



"Tony Toews" <ttoews (AT) telusplanet (DOT) net> wrote

Quote:
On Fri, 21 Jan 2011 15:21:07 GMT, "Phil" <phil (AT) stantonfamily (DOT) co.uk
wrote:

IMHO Best way to repair a corrupt Db. Relationships will be imported
automatically.

The layout of the relationships window will not copy automatically.
That is it will be laid out as a grid. Real pain when you have more
relationships than can fit on the screen.

Use the sysrels utility at the following location to copy the table
relationships layout window
http://www.trigeminal.com/lang/1033/...p?ItemID=12#12
Or use Save Restore Modify Relationship Window at
http://www.lebans.com/saverelationshipview.htm

Ah I noticed this but the issue is one of layout, not that it fails to
import those relationships?

Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.