To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Windows Help

Windows Help Help with the Windows operating system

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-18-2000, 08:32 AM   #1
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
Access/PHP/NT problem

Hi all,

I'm having a problem.

I need to get to a DB (Access format) that's on a different server to the web server. I've mapped a drive to the correct path, and created a system DSN to that path. However, when I tried to query that DB I got an error.

Warning: SQL error: [Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet database engine cannot open the file 'SIDSC.MDB'. It is already opened exclusively by another user, or you need permission to view its data., SQL state S1000 in SQLExecDirect

I have given the IUSR_XXX account access to this directory and verified that there are no other connections to this database. Does anyone have any clue why this isn't working?

Both servers are running WinNT 4.0

Many thanks,

DanF
Anon is offline   Reply With Quote
Old 07-18-2000, 11:56 AM   #2
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Access/PHP/NT problem

Make sure the table isn't opened by anyone with Access. If worst comes to worst, reboot.
Anon is offline   Reply With Quote
Old 07-18-2000, 12:01 PM   #3
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Access/PHP/NT problem

Table is closed. Tried rebooting both servers, but no effect.
Anon is offline   Reply With Quote
Old 11-12-2001, 07:18 AM   #4
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Access/PHP/NT problem

Hello,

I have the problem also. I am more inclined to believe its a php bug.
Accessing mapped drives to an Access Database works fine with Win based applications. No amount of rebooting or privilage setting will rectify this.

If anyone can prove me wrong I would be most greatful, as I could really do with this working.

Has anyone ever managed it?

If so, why are there so many requests regarding the problem, which no one has given a solution for?

All the best,
Allan M.
Anon is offline   Reply With Quote
Old 11-12-2001, 07:34 AM   #5
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Access/PHP/NT problem

Ah, right. Sorry. My bad. I should have posted my solution.

I did fix this. In the end I created a new Access DB on the local server with linked tables to the remote database. Then I re-checked the permissions on the remote DB, making absolutely sure I had the right IUSR_machinename user specified, all the way through the directory tree. Now I can query the remote DB without any problem.

I don't think there is a PHP bug, I'd probably be tempted to blame MS. But then, I blame them for everything :)

Hope this helps,

Dan
Anon is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:06 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.