Re: A note to add to ASPFAQ.com for database compacting
From: joker (no-spam_at_netzero.com)
Date: 08/11/04
- Next message: joker: "Re: "Operation must use an updateable query".- after conversion to NTFS"
- Previous message: John: "Re: FTP Text to DB"
- In reply to: Mike: "A note to add to ASPFAQ.com for database compacting"
- Next in thread: Mike: "Re: A note to add to ASPFAQ.com for database compacting"
- Reply: Mike: "Re: A note to add to ASPFAQ.com for database compacting"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 11 Aug 2004 01:52:58 -0600
This is because when access does the compact & repair operations it has
to create a new temporary file. Then the new file inherits the NTFS
permissions of the folder in question depending on the rules of NTFS
security. Thus your problem is that you have to high of security set
for your access folder.
One thing you might consider is creating a directory just for you access
file(s) and setting the folders security so that you can still access
them from the Internet.
This will help you out because it will only give the Internet access to
the files needed and also a compact & repair operation will not cause
you any problems.
The only change I suggest is to make note of NTFS security inheritance
and how it effects an access database that has had a compact & repair
operation performed on it.
Mike wrote:
> I'd like to add my 2 cents from the school of hard knocks to
> http://www.aspfaq.com/show.asp?id=2009
>
> I get this error after going in Access to Tools, Database Utilities,
> Compact and Repair Database...
>
> Error Type:
> Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
> [Microsoft][ODBC Microsoft Access Driver]General error Unable to open
> registry key 'Temporary (volatile) Jet DSN for process 0x2a4 Thread
> 0x5cc DBC 0x15d18bc Jet'.
> /copydata.asp, line 135
>
> I checked the security tab of the file and noticed that the Compact
> and Repair operation had reset the securities settings, causing the
> error. Each time I compact and repair the database, the security
> settings get reset and I have to go back and manually edit them to fix
> the problem.
>
> -Mike
- Next message: joker: "Re: "Operation must use an updateable query".- after conversion to NTFS"
- Previous message: John: "Re: FTP Text to DB"
- In reply to: Mike: "A note to add to ASPFAQ.com for database compacting"
- Next in thread: Mike: "Re: A note to add to ASPFAQ.com for database compacting"
- Reply: Mike: "Re: A note to add to ASPFAQ.com for database compacting"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|