Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Database Access Permissions
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Database Access Permissions

 Post Reply Post Reply
Author
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Post Options Post Options   Thanks (0) Thanks(0)   Quote zMaestro Quote  Post ReplyReply Direct Link To This Post Topic: Database Access Permissions
    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.



Edited by zMaestro
Back to Top
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post 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
Soft 4 web
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2003 at 9:32am

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

Mart.

Back to Top
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Post Options Post Options   Thanks (0) Thanks(0)   Quote zMaestro Quote  Post ReplyReply Direct Link To This Post 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 www.Web Wiz.com and updates at 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...

Back to Top
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post 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
Soft 4 web
Back to Top
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Post Options Post Options   Thanks (0) Thanks(0)   Quote zMaestro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post 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
Soft 4 web
Back to Top
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Post Options Post Options   Thanks (0) Thanks(0)   Quote zMaestro Quote  Post ReplyReply Direct Link To This Post 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....

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.