Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Internationalization (v4-archive)
 Error message when compacting the database
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 23 July 2002 :  06:09:29  Show Profile  Visit tomasalsbro's Homepage  Reply with Quote
Hi,
When trying to compact the database I received this message:

---------------------
Microsoft JET Database Engine error '80040e09'

The Microsoft Jet database engine cannot open the file 'D:\.........\......\forum\tools\Snitz_compacted.mdb'. It is already opened exclusively by another user, or you need permission to view its data.

/forum/admin_compactdb.asp, line 92
---------------------

What have I done wrong?

I'm using sf2k_v40_b03, with all patches.
The database is 15176kb big at present.

Cheers /
Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se


[moved by bozden on 03 October 2002]

<

Edited by - Deleted on 03 October 2002 20:27:55

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 23 July 2002 :  06:32:20  Show Profile  Visit HuwR's Homepage
you need to give the /forum/tools directory read and write permissions.

<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 23 July 2002 :  06:41:59  Show Profile  Send ruirib a Yahoo! Message
I'd say that's probably a permissions problem. I would suggest that you find all the instructions where you have Server.MapPath(tools/Snitz_compacted.mdb") in admin_compactdb.asp and change that so that the folder used is the same folder where you now have your database, that is, the folder used in your Snitz connection string.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
<
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 23 July 2002 :  06:42:04  Show Profile  Visit tomasalsbro's Homepage
Hi Huw,

I cant find the file tools\Snitz_compacted.mdb' at all.

Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 23 July 2002 :  06:42:47  Show Profile  Send ruirib a Yahoo! Message
Boy, was this one late .

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
<
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 23 July 2002 :  07:35:37  Show Profile  Visit tomasalsbro's Homepage
I have the oportunity in the admin section to compact my database, but I'm lack of the neccesary files, I guess....

Is compacting a function thats implemented in my version or...

Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 23 July 2002 :  07:40:45  Show Profile  Send ruirib a Yahoo! Message
Did you read what I posted? You need to change admin_compactdb.asp as I told you, because the you have no correct permissions to the tools folder. Alternatively you can do as HuwR suggested and change the permissions on the tools folder.

If you do one of these two things, you'll be able to compact the database.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
<
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 23 July 2002 :  08:12:22  Show Profile  Visit tomasalsbro's Homepage
I have done what both of you suggested, with no result other then the error message:
-------------
Databasen är nu komprimerad. (The database is now compressed)
Microsoft VBScript runtime error '800a0035'

File not found

/forum/admin_compactdb.asp, line 141
----------------

Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se

Edited by - tomasalsbro on 23 July 2002 08:23:03<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 23 July 2002 :  08:26:59  Show Profile  Send ruirib a Yahoo! Message
To which folder did you assign Snitz_compacted.mdb? Use the FTP client to see if it's there.

Did you apply my change to all the occurrences of Server.MapPath(tools/Snitz_compacted.mdb")?

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 23 July 2002 :  08:27:14  Show Profile  Visit HuwR's Homepage
This either means you still do not have the correct permissions for the directory with your db, or your existing snitz db is still in use.

<
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 23 July 2002 :  11:59:43  Show Profile  Visit tomasalsbro's Homepage
OK,
I think I have got it right now. I use FrontPage 2000 and a web hotel with FrontPage extensions.

Some questions though:
The Snitz_compact.mdb doesn't exist after the compression session is over. Is that OK?

The database was reduced from 15180 kb to 13512 kb. Does it seems OK or...?

Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 23 July 2002 :  12:17:27  Show Profile  Visit HuwR's Homepage
yes, it is only a temporary file, there should be a backup called THEDATE_YOURDBNAME.mdb

The amount of compaction depends on your individual db, and how many records are deleted etc, if you never remove any members or posts, then compacting will have no effect

<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07