Error:
The following error typically occurs when your script attempts to perform an UPDATE or some other action that alters the information in the database.
===========================================================================================
Microsoft JET Database Engine error '80004005'
The Microsoft Jet database engine cannot open the file 'C:\Inetpub\vhost\YourSite\Databases\YourDatabase.mdb'.
It is already opened exclusively by another user, or you need permission to view its data.
/YourSite/YourDataAccessPage.asp, line 15
=============================================================================================
Solution:
The above error occurs because ADO(ActiveX Data Objects) is unable to write to the Microsoft Access database due to insufficient write/modify permissions, which can be easily fixed by granting read/write to IUSR_<machineName> and IWAM_<machineName>.
IUSR_<machineName> and IWAM_<machineName> come into focus when an anonymous web user needs to modify the Microsoft Access database & while doing so Jet creates an .ldb file to handle database locking. If the above mentioned 2 users don't have the necessary permissions, the lock file isn't created & ultimately the Microsoft Access database can't be modified.
To fix this problem,
1. Make sure that the MDB file itself isn't marked as read-only.
2. Right click the folder in which the *.mdb files belongs and choose the properties option and select the Security tab. Give read/write permissions to IUSR_<machineName> and IWAM_<machineName> users. If there is no such users listed in it, add those users for that folder.
Note:-
There is also an alternate solution for this issue. You can find a user called 'everyone', add this user for the folder in which *.mdb belongs and give read/write permissions. But this is not good because of security reasons.
Reference:
http://imar.spaanjaars.com/263/how-do-i-fix-asp-80004005-errors
About Me
Categories
Archives
Populares
-
Domain already exists error while adding a subdomain or addon domain A very common error when adding an addon or parked domain via cpanel....
-
Situation : I have removed some mails from the MDaemon server from the backend,ie, browsed through the mail box and deleted some mails mauna...
-
Here in the following telnet sessions i am using the following details to demonstrate the dovecot verification. You have to replace with you...
-
BCC to Boss Function - Postfix Postfix provides three mechanisms: always_bcc = address Deliver a copy of all mail to the specifi...
-
If you, or your clients, are unable to login to your/their email accounts and the system shows this error message: Plaintext authentication ...
-
In Kloxo ftp is running in xinetd. So first of all check this service is listening in port 21. [root@server ~]# netstat -plant | grep xinetd...
-
Install YAZ PHP extension You can cry install yaz using the following command. But you may encounter an erro while the installation. # pecl ...
-
Installing Ruby In cpanel it is easy to install Ruby using the following cpanel script. # /scripts/installruby Some times the cPanel script...
-
Change Mail sending IP Open the postfix configuration file, /etc/postfix/main.cf Find if there is an entry as follows, in the postfix config...
-
Bash script To Change password of all mail accounts The bash script given below will change the password of all the mail accounts in ...