1

Re: R2002 Compacting problem

I'm trying to compact the nbndata.mdb file. It gets to about 205MB (of about 240MB) and the issues the error below.
I fear that this is a symptom of a wider problem, since I have been having issues with the TAXON_OCCURANCE table in our linked database and I've not been able to copy that table into another database. I have been trying to save space on the server, so I may have compressed something that shouldn't have been... but I don't know what.


Exception occurred in application Recorder 2002 at 12/07/2007 12:40:12.
Version : 2.3.7.8

Exception path:
EOleException : Record(s) can't be read; no read permission on '\\Sewbrecserver\rec2002\Database\nbndata.mdb'
EJNCCDatabaseError : Unable to compact database \\Sewbrecserver\rec2002\Database\nbndata.mdb.

Operating System : Windows XP  5.01.2600  Service Pack 2
Physical Memory available : 1,046,508 KB

DLLs loaded:
  advapi32.dll (5.1.2600.2180)
  comctl32.dll (5.82.2900.2982)
  comdlg32.dll (6.0.2900.2180)
  gdi32.dll (5.1.2600.3099)
  HHCtrl.ocx (5.2.3790.2847)
  kernel32.dll (5.1.2600.3119)
  mpr.dll (5.1.2600.2180)
  MS4.Dll (5.0.0.1)
  MS4User.dll (4.0.0.3)
  ole32.dll (5.1.2600.2726)
  oleaut32.dll (5.1.2600.2180)
  shell32.dll (6.0.2900.3051)
  user32.dll (5.1.2600.3099)
  version.dll (5.1.2600.2180)
  winmm.dll (5.1.2600.2180)
  winspool.drv (5.1.2600.2180)
  wsock32.dll (5.1.2600.2180)

Dave Slade
Senior IT & Records Officer,
15 Talbot Road, Talbot Green, Pontyclun, CF72 8AD
www.sewbrec.org.uk, www.sewbrecord.org.uk

2

Re: R2002 Compacting problem

Further to my last post, the temporary database formed by the compact process contains the following entry in a table called 'MSysCompactError'. The reason I mention it is that this is the error I've been getting when trying to update the linked database.

ErrorCode    ErrorDescription    ErrorRecid    ErrorTable
-1611    The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time.    à8    TAXON_OCCURRENCE

Dave Slade
Senior IT & Records Officer,
15 Talbot Road, Talbot Green, Pontyclun, CF72 8AD
www.sewbrec.org.uk, www.sewbrecord.org.uk

3

Re: R2002 Compacting problem

After talking through the problem with Sally Rankin, and using JetComp v4.0 to compact the nbndata.mdb all appears to have returned to normal. The database had become corrupted it seems. So many thanks to Sally!

Dave Slade
Senior IT & Records Officer,
15 Talbot Road, Talbot Green, Pontyclun, CF72 8AD
www.sewbrec.org.uk, www.sewbrecord.org.uk

4

Re: R2002 Compacting problem

Hey
I get an error message too when attempting to compact the R2002 database. Mine's a little different though:

Exception occurred in application Recorder 2002 at 30/10/2009 14:22:09.
Version : 2.3.7.8

Exception path:
EOleException : Not a valid password
EJNCCDatabaseError : Unable to compact database C:\Recorder 2002\Database\Copy of nbndata.mdb.

Last event\actions:
  actLocations invoked
  TfrmLocations created
  TfrmLocations activated
  TfrmLocationDetails created
  TfrmLocationDetails destroyed
  TfrmLocations destroyed

Operating System : Windows XP  5.01.2600  Service Pack 3
Physical Memory available : 2,052,648 KB

DLLs loaded:
  advapi32.dll (5.1.2600.5755)
  comctl32.dll (5.82.2900.5512)
  comdlg32.dll (6.0.2900.5512)
  gdi32.dll (5.1.2600.5698)
  HHCtrl.ocx (5.2.3790.4110)
  kernel32.dll (5.1.2600.5781)
  mpr.dll (5.1.2600.5512)
  MS4.Dll (5.0.0.1)
  MS4User.dll (4.0.0.3)
  ole32.dll (5.1.2600.5512)
  oleaut32.dll (5.1.2600.5512)
  shell32.dll (6.0.2900.5622)
  user32.dll (5.1.2600.5512)
  version.dll (5.1.2600.5512)
  winmm.dll (5.1.2600.5512)
  winspool.drv (5.1.2600.5512)
  wsock32.dll (5.1.2600.5512)

I tried to use the jetcomp program mensioned but that didn't work. I got the helpful message "Error when compacting databas".
Any ideas?
David

[color=blue]David Angel[/color]
[color=blue]Data Officer[/color]
[color=blue]The Wildlife Information Centre[/color]

5

Re: R2002 Compacting problem

Have you tried the technique in the documentation on Recorder 2002 to Recorder 6 data transfers for clearing corruptions in Recorder 2002 databases? – see the new Recorder web-site www.jncc.gov.uk/recorder – Recorder 2002 – R2002 Resources – R2002 Documentation – Data Transfer to Recorder 6 – section 6.1.

Sally Rankin, JNCC Recorder Approved Expert
E-mail: s.rankin@btinternet.com
Telephone: 01491 578633
Mobile: 07941 207687

6

Re: R2002 Compacting problem

Hi Sally
Thanks for the reply. In order to transfer to Recorder 6, I'm working through the document you mention. I have no Temp.mdb file in the Recorder 2002 database folder though. My error message is also slightly different from the examples in the document, which makes me think it have a different cause.
Cheers
David

[color=blue]David Angel[/color]
[color=blue]Data Officer[/color]
[color=blue]The Wildlife Information Centre[/color]