I have an IIS 6.0, 2003 Server running with PHP installed.
I have an access database with a DSN ODBC connection configured.
When this ODBC is configured to access the database locally - great,
works fine.
When configured to access a remote copy of this database I get the
following :
"....Warnin g: odbc_connect() [function.odbc-connect]: SQL error:
[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database
engine cannot open the file '(unknown)'. It is already opened
exclusively by another user, or you need permission to view its data.,
SQL state S1000 in SQLConnect in C:\Inetpub\wwwr oot\PI\getdata. php on
line 3...."
I have tried to set permissions on the database stored on the
networked volume to allow the 'IUSR_servernam e' user on the web-server
to have rights but am unable. I've tried giving 'everyone' the full
rights to the database all to no avail.
Getting to the stage where I'm going to ask the end user to copy their
database permanantly to the server where the PHP page lives, and give
them a shortcut to it .... but .... it's reaally reaally annoying me
now and I'd like to sort it out properly.
Thanks for any help 4 6484
"Rodent" <de******@gmail .comwrote in message
news:11******** **************@ 19g2000hsx.goog legroups.com...
>I have an IIS 6.0, 2003 Server running with PHP installed.
I have an access database with a DSN ODBC connection configured.
When this ODBC is configured to access the database locally - great,
works fine.
When configured to access a remote copy of this database I get the
following :
"....Warnin g: odbc_connect() [function.odbc-connect]: SQL error:
[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database
engine cannot open the file '(unknown)'. It is already opened
exclusively by another user, or you need permission to view its data.,
SQL state S1000 in SQLConnect in C:\Inetpub\wwwr oot\PI\getdata. php on
line 3...."
I have tried to set permissions on the database stored on the
networked volume to allow the 'IUSR_servernam e' user on the web-server
to have rights but am unable. I've tried giving 'everyone' the full
rights to the database all to no avail.
great! all of that *needed* to be done. however, the error message is not
related to file permissions. what you need to do now, is open up the db on
the network volume in *access*. once open, you need to set the options for
it (tools...option s). next, go to the 'advanced' tab and set the 'default
open mode' to shared. close access. finally, go the the network volume where
the .mdb file is. once there, delete all .ldb files. then give it a go.
btw, afaicr, you can also massage some of that in your odbc config and/or
connection string.
i should state that you should *always* use a connection string instead of
actually creating a DSN for access. further, only use access db's when you
plan to have access provide the gui interface as well. mysql (and just about
any other db engine) beats the snot out of ms access in terms of speed,
reliability, and capacity. you'll find that out as soon as you get 2 users
simultaneously hitting it and your mdb file size gets to about 1MB.
but, that's just my 0.02 usd
Getting to the stage where I'm going to ask the end user to copy their
database permanantly to the server where the PHP page lives, and give
them a shortcut to it .... but .... it's reaally reaally annoying me
now and I'd like to sort it out properly.
that would require you to NOT use ms access. ;^)
Normally work with PHP, FreeBSD and MySQL .... any problems can
usually be solved with the aid of google and a few good people like
your self. Unfortunately the user who I'm creating a 'nice browser
based front-end' for doesn't want to migrate her database to something
strange and wonderful like that.
Unfortunately I'm stuck with access and the settings you've just
suggested still give me the same error :-)
Any other suggestions will be gratefully received.... however I'm
getting closer and closer to just copying the bloody thing onto the
server and being done with it. Amazing how 'simple' jobs take s
long :-)
Cheers
"Steve" <no****@example .comwrote in message
news:0o******** ***@newsfe02.lg a...
>
"Rodent" <de******@gmail .comwrote in message
news:11******** **************@ 19g2000hsx.goog legroups.com...
>>I have an IIS 6.0, 2003 Server running with PHP installed.
I have an access database with a DSN ODBC connection configured.
When this ODBC is configured to access the database locally - great, works fine. When configured to access a remote copy of this database I get the following :
"....Warning : odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data., SQL state S1000 in SQLConnect in C:\Inetpub\wwwr oot\PI\getdata. php on line 3...."
I have tried to set permissions on the database stored on the networked volume to allow the 'IUSR_servernam e' user on the web-server to have rights but am unable. I've tried giving 'everyone' the full rights to the database all to no avail.
great! all of that *needed* to be done. however, the error message is not
related to file permissions. what you need to do now, is open up the db on
the network volume in *access*. once open, you need to set the options for
it (tools...option s). next, go to the 'advanced' tab and set the 'default
open mode' to shared. close access. finally, go the the network volume
where the .mdb file is. once there, delete all .ldb files. then give it a
go.
btw, afaicr, you can also massage some of that in your odbc config and/or
connection string.
i should state that you should *always* use a connection string instead of
actually creating a DSN for access. further, only use access db's when you
plan to have access provide the gui interface as well. mysql (and just
about any other db engine) beats the snot out of ms access in terms of
speed, reliability, and capacity. you'll find that out as soon as you get
2 users simultaneously hitting it and your mdb file size gets to about
1MB.
but, that's just my 0.02 usd
>Getting to the stage where I'm going to ask the end user to copy their database permanantly to the server where the PHP page lives, and give them a shortcut to it .... but .... it's reaally reaally annoying me now and I'd like to sort it out properly.
that would require you to NOT use ms access. ;^)
Are you specifying a UNC path to the db-file? Or do you use a network share
with drive letter?
I vaguely remember one of the 2 didnt work.
Google probably remembers better than me.
Richard.
"Richard" <root@localhost wrote in message
news:46******** *************** @news.euronet.n l...
>
"Steve" <no****@example .comwrote in message
news:0o******** ***@newsfe02.lg a...
>> "Rodent" <de******@gmail .comwrote in message news:11******* *************** @19g2000hsx.goo glegroups.com.. .
>>>I have an IIS 6.0, 2003 Server running with PHP installed.
I have an access database with a DSN ODBC connection configured.
When this ODBC is configured to access the database locally - great, works fine. When configured to access a remote copy of this database I get the following :
"....Warnin g: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data., SQL state S1000 in SQLConnect in C:\Inetpub\wwwr oot\PI\getdata. php on line 3...."
I have tried to set permissions on the database stored on the networked volume to allow the 'IUSR_servernam e' user on the web-server to have rights but am unable. I've tried giving 'everyone' the full rights to the database all to no avail.
great! all of that *needed* to be done. however, the error message is not related to file permissions. what you need to do now, is open up the db on the network volume in *access*. once open, you need to set the options for it (tools...option s). next, go to the 'advanced' tab and set the 'default open mode' to shared. close access. finally, go the the network volume where the .mdb file is. once there, delete all .ldb files. then give it a go.
btw, afaicr, you can also massage some of that in your odbc config and/or connection string.
i should state that you should *always* use a connection string instead of actually creating a DSN for access. further, only use access db's when you plan to have access provide the gui interface as well. mysql (and just about any other db engine) beats the snot out of ms access in terms of speed, reliability, and capacity. you'll find that out as soon as you get 2 users simultaneously hitting it and your mdb file size gets to about 1MB.
but, that's just my 0.02 usd
>>Getting to the stage where I'm going to ask the end user to copy their database permanantly to the server where the PHP page lives, and give them a shortcut to it .... but .... it's reaally reaally annoying me now and I'd like to sort it out properly.
that would require you to NOT use ms access. ;^)
Are you specifying a UNC path to the db-file? Or do you use a network
share with drive letter?
I vaguely remember one of the 2 didnt work.
Google probably remembers better than me.
probably me too. i always used a unc since that's one less thing i'd have
had to remember to do when i moved to production (map a drive and all). This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Graham |
last post by:
I need a SQL Server or ODBC package for Python. Can anyone help please?
Have search the Python packages under Database and there is no reference to
either SQL Server or ODBC.
Thanks
Graham
|
by: Richard Muller |
last post by:
Hi All,
I've got the ASP script shown below that complains as follows:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
Data source name not found and no default
driver specified
/ShowEvents.asp, line 24
Line 24 of the script is the line:
|
by: Len Kowalik |
last post by:
MSAccess 2000, SQL-Server 97
I am getting a permission denied response from an attempt to execute a
stored proc, which has public access revoked and app role access, on
the last statement of the following code:
----------------------------------------------------------------------
strAttributes = "DATABASE=User_ProfilesQual" & _
vbCr & "Description=Default logon DB" & _
vbCr & "OemToAnsi=No" & _
|
by: Krzysiek |
last post by:
Hi,
I have the application (VB6 using RDO) dealing with MSAccess database.
This application use/prints reports build on CrystalReport. Report
data are fetched from AS400 (via ODBC) and put in MSAccess *.mdb file.
In order to build and then print report, application goes for data
only to a local db.
On some PCs all information on the report are shown in a proper way
but on some others there are lacks. I mean the very first data are...
|
by: TheAd |
last post by:
At this moment I use MsAccess and i can build about every databound
application i want. Who knows about a serious open source alternative?
Because Windows will be a client platform for some time, i prefer a
solution that (also) supports Windows.
On the net I found a number of products that i looked at, but none of
them gave me the impression of a serious candidate at this moment
(KNoda, Gnome DB Manager, InterBase...).
2 additional...
| |
by: Alec |
last post by:
Hi All,
I am currently trying to link in Access 97 to a table in a MSSQL 7
server. Initially the link is fine, however, when I close the access
database and re-open it from the same network lacation on a different
machine, it tells me that the ODBC connection to 'SQL Server Name'
failed.
How can I create the linked table permenant no matter what machine the
networked database is opened on?
|
by: laredotornado |
last post by:
Hello,
I am tasked with converting an MsAccess db to a MySQL 4 db in a Linux
environment. Can anyone recommend any good freeware/scripts to help me
do this?
Thanks, - Dave
|
by: odbcmsaccess |
last post by:
hi
i 'm writng a code using msaccess with odbc.
my dsn name is htgry
i want to insert data eneterd in text fields to a table named qwer on clicking a command button.
code as follows
Private Sub Command14_Click()
|
by: adjo |
last post by:
I am working on an app with an Access2002 frontend and Sql2005
backend. I have to use integrated security. I want to prevent my users
from altering data in another way than via the frontend.
It looks to me that the mechanism to do it is the Sqlserver
sp_setapprole procedure. Works fine when programming directly to
Sqlserver, and also een Access Data Project at first sight seems to
work as it should via the call to the sp_setapprole proc....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |