Print Page | Close Window

Database Access Permissions

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Database Discussion
Forum Description: Discussion and chat on database related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=4796
Printed Date: 29 March 2026 at 9:19am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Database Access Permissions
Posted By: zMaestro
Subject: Database Access Permissions
Date Posted: 06 August 2003 at 6:35am

i have a database that contains a log files for more than one domain, I want these domains to update in it, I use the Local Path of the server to access the database, but I get this error:

Microsoft JET Database Engine error '80004005'

The Microsoft Jet database engine cannot open the file 'D:\SiteData\webppliance\conf\domains\mydomain\
Inetpub\wwwroot\dotASP\dotBase\myDB.mdb'. It is already opened exclusively by another user, or you need permission to view its data.


How can I've this permission?,
n.b. there is no password for the database.




Replies:
Posted By: zaboss
Date Posted: 06 August 2003 at 7:39am
This error means that either the db is open - or the temp file that access creates everytime it opens the db wasn't deleted, or it is under a directory for which you do not have the right permissions (read only, blabla).

-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web


Posted By: Mart
Date Posted: 06 August 2003 at 9:32am

If it is permissions look in the asp section on Web Wiz.

Mart.



Posted By: zMaestro
Date Posted: 06 August 2003 at 9:58am

Originally posted by zaboss zaboss wrote:

This error means that either the db is open - or the temp file that access creates everytime it opens the db wasn't deleted, or it is under a directory for which you do not have the right permissions (read only, blabla).

neither the first nor the second... it is the third...

It functions normally when I access it from inside the domain itself, and I use the local path.

It doesn't function when I try yo access it from another domain, using local path too... Although the local path is the same.

I want to update the database through the local path from another domain either than that which it is in, i.e. login through http://www.webwiz.net - www.Web Wiz.com and updates at http://www.webwiz.net - www.Web Wiz.info using the local path, both domains are on the same server but under different directories.

 

sorry for bothering you... i am too confused...



Posted By: zaboss
Date Posted: 06 August 2003 at 11:44am

If this is the case, you simply can not do this. Chances there are that the sites are not even on the same machine so you can not actualy use the phisical path! Which is... phisical only realtive to the domain itself. What I mean is that you may have a d: drive on machine 12 and a d: drive on machine 34! Both of them having the same directory structure, but ... Get the picture?

So, if you want that option, you might want to consider SQL Server.



-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web


Posted By: zMaestro
Date Posted: 06 August 2003 at 1:04pm

It is not Physical relative to the domain itself, it is physical relative to the Server.

Both Domains are located on the same Server on the same HDD, even using the same Control Panel.

and both can be accessed through the Physical path of the server but only from inside the domain.

'D:\SiteData\webppliance\conf\domains\my1stdomain\
Inetpub\wwwroot\dotASP\dotBase\myDB.mdb'

'D:\SiteData\webppliance\conf\domains\my2nddomain\
Inetpub\wwwroot\dotASP\dotBase\myDB.mdb'

if I accessed any of these from outside its domain, i.e. 1st domain from the 2nd, or 2nd from the 1st, I get permission denied... although I can access normally using the local path from inside the domain itself....

I'll try asking the server administrator about this.. may be he has a solution about this permission, and will be back to you.

Thanks for your help



Posted By: zaboss
Date Posted: 06 August 2003 at 11:56pm
Originally posted by zMaestro zMaestro wrote:

It is not Physical relative to the domain itself, it is physical relative to the Server.

Both Domains are located on the same Server on the same HDD, even using the same Control Panel.

Did you know that for a fact? I mean, I know for a fact that even all of my sites have the same phisical path (d:/webs/site1/db/mydb1.mdb, d:/webs/site2/db/mydb2.mdb and d:/webs/site3/db/mydb3.mdb) and I use the same control panel, 2 of them are indeed on the same machine, but the third is in another box. And as I said I doubt that you will be allowed to access them from another domain as this would mean that your db will be exposed(security reasons, think about it, that if it is allowed to do this anybody can access your db as they know the phisical path to it!).



-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web


Posted By: zMaestro
Date Posted: 07 August 2003 at 3:16am

yes, the last point in absolutely true...

Originally posted by <SPAN class=bold>zaboss</SPAN> zaboss wrote:

And as I said I doubt that you will be allowed to access them from another domain as this would mean that your db will be exposed(security reasons, think about it, that if it is allowed to do this anybody can access your db as they know the phisical path to it!).

locally I'm using Windows XP and it is working normally... problems is just when I upload it to the server... I though that as it works locally.. it will work normally...

 

for the 1st point.. it is all in the same box... using the same Physical path (at least on my server), I know that if it is relative to the domain itself and not to the server.. it is named Virtual Path and not Physical Path.

Locally... I can include a file using the ../ but on the server it says that this is not allowed... I thought it is something like this....




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net