In a PHP script, I'm using a DSN-less ODBC connection to connect to an
MS Access database. Like so:
$DBConn = 'Driver={Microsoft Access Driver (*.mdb)};
DBQ=c:\path\to\MyDatabase.MDB';
$conn = odbc_connect($DBConn,'','');
This works fine - no problems.
Now, I want to connect to an Access database that is on another
computer (on a LAN). Using a similar statement:
$DBConn = 'Driver={Microsoft Access Driver (*.mdb)};
DBQ=\\ComputerName\c\path\to\MyDatabase.MDB';
$conn = odbc_connect($DBConn,'','');
But this results in an error:
SQL error: [Microsoft][ODBC Microsoft Access Driver]General error
Unable to open registry key 'Temporary (volatile) Jet DSN for process
0xe80 Thread 0x8a8 DBC 0xf8e024'...
Is it possible to do this? Can anyone tell me how to get past this?
Thanks. 3 3918
On Feb 8, 9:05*pm, Jack <ironwoodcan...@gmail.comwrote:
In a PHP script, I'm using a DSN-less ODBC connection to connect to an
MS Access database. Like so:
$DBConn = 'Driver={Microsoft Access Driver (*.mdb)};
DBQ=c:\path\to\MyDatabase.MDB';
$conn = odbc_connect($DBConn,'','');
This works fine - no problems.
Now, I want to connect to an Access database that is on another
computer (on a LAN). Using a similar statement:
$DBConn = 'Driver={Microsoft Access Driver (*.mdb)};
DBQ=\\ComputerName\c\path\to\MyDatabase.MDB';
$conn = odbc_connect($DBConn,'','');
But this results in an error:
SQL error: [Microsoft][ODBC Microsoft Access Driver]General error
Unable to open registry key 'Temporary (volatile) Jet DSN for process
0xe80 Thread 0x8a8 DBC 0xf8e024'...
Is it possible to do this? Can anyone tell me how to get past this?
Thanks.
Try
http://www.xlinesoft.com/asprunner/docs/error_unable_to_open_registry_key_'temporary_(vola tile)_jet_dsn_for_process_..._.htm
.... or ..... http://support.microsoft.com/kb/295297
Rob.
On 11 Feb, 13:06, Rob <ratkin...@tbs-ltd.co.ukwrote:
On Feb 8, 9:05 pm, Jack <ironwoodcan...@gmail.comwrote:
In a PHP script, I'm using a DSN-less ODBC connection to connect to an
MS Access database. Like so:
$DBConn = 'Driver={Microsoft Access Driver (*.mdb)};
DBQ=c:\path\to\MyDatabase.MDB';
$conn = odbc_connect($DBConn,'','');
This works fine - no problems.
Now, I want to connect to an Access database that is on another
computer (on a LAN). Using a similar statement:
$DBConn = 'Driver={Microsoft Access Driver (*.mdb)};
DBQ=\\ComputerName\c\path\to\MyDatabase.MDB';
$conn = odbc_connect($DBConn,'','');
But this results in an error:
SQL error: [Microsoft][ODBC Microsoft Access Driver]General error
Unable to open registry key 'Temporary (volatile) Jet DSN for process
0xe80 Thread 0x8a8 DBC 0xf8e024'...
Is it possible to do this? Can anyone tell me how to get past this?
Thanks.
Try
http://www.xlinesoft.com/asprunner/d..._open_registry...
.... or .....
http://support.microsoft.com/kb/295297
Rob.
Let me guess, you put
Unable to open registry key
into google and pressed "I'm feeling lucky"
I guessed Google must have been having problems when the OP tried this
before posting here!
On Feb 11, 1:46*pm, Captain Paralytic <paul_laut...@yahoo.comwrote:
On 11 Feb, 13:06, Rob <ratkin...@tbs-ltd.co.ukwrote:
On Feb 8, 9:05 pm, Jack <ironwoodcan...@gmail.comwrote:
In a PHP script, I'm using a DSN-less ODBC connection to connect to an
MS Access database. Like so:
$DBConn = 'Driver={Microsoft Access Driver (*.mdb)};
DBQ=c:\path\to\MyDatabase.MDB';
$conn = odbc_connect($DBConn,'','');
This works fine - no problems.
Now, I want to connect to an Access database that is on another
computer (on a LAN). Using a similar statement:
$DBConn = 'Driver={Microsoft Access Driver (*.mdb)};
DBQ=\\ComputerName\c\path\to\MyDatabase.MDB';
$conn = odbc_connect($DBConn,'','');
But this results in an error:
SQL error: [Microsoft][ODBC Microsoft Access Driver]General error
Unable to open registry key 'Temporary (volatile) Jet DSN for process
0xe80 Thread 0x8a8 DBC 0xf8e024'...
Is it possible to do this? Can anyone tell me how to get past this?
Thanks.
Try
http://www.xlinesoft.com/asprunner/d..._open_registry...
.... or .....
http://support.microsoft.com/kb/295297
Rob.
Let me guess, you put
Unable to open registry key
into google and pressed "I'm feeling lucky"
I guessed Google must have been having problems when the OP tried this
before posting here!- Hide quoted text -
- Show quoted text -
Not far wrong - I did make sure the sites actually seemed appropriate.
Surely there must be a forums equivilent for RTFM - what about STFW :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: SerGioGio |
last post by:
Hello,
I am going nuts. I am trying to connect to my local ORACLE instance using
ODBC.
It used to work few weeks ago, but it fails now.
Connection with:
- SQL*plus: connection works!
-...
|
by: Remco Groot Beumer |
last post by:
Hello all,
Currently we are implementing an Access database which has to send some (not
much) data over a WAN. We are using an Access front end and an Access back
end. Basicly the front end runs...
|
by: Dakkar |
last post by:
I wrote a program with c# for connecting mysql and taking data from it
but when someone without me try to execute the program they are taking
this error
ERROR
Data source name not found and...
|
by: Jordi |
last post by:
Hi,
I have a problem when accesing data with and ODBC provider under asp.Net applications.
The question is that if I run the application in the same server where data is stored then data is...
|
by: Greg Strong |
last post by:
Hello All,
The short questions are
1 Do you know how to make DSN connection close in Access to Oracle 10g
Express Edition?
&/or
2 Do you know how to make a DSN-less pass-through query...
|
by: ~john |
last post by:
I just installed PHP 5.1.4 with SQL Server 2005 on my laptop. PHP is
running fine and so is SQL Server 2005. When I try to connect to SQL
Server from my my PHP code I get this error.
Warning:...
|
by: mukeshhtrivedi |
last post by:
We have 4 MS Access Databases with few tables on each DB. There are
some reports which uses ODBC. When I try to use the report and input
date range and click ok I get error "ODBC --call failed" it...
|
by: BillCo |
last post by:
I need to Connect to an online mySQL database from Access using JET
ODBC with no saved DSN.
Anyone out there who as made this work and can give example of how
it's done? I've seen lots of posts...
|
by: Martin |
last post by:
Using ODBC in a PHP script, I'm trying to read an MS Access MDB file
that resides on another computer on my LAN. I'm getting the error:
Warning: odbc_connect() : SQL error:
The Microsoft Jet...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |