Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Problem linking ACCESS to SQL SERVER
Hi,

I have an access database that I want to link to SQLServer. For this, I want
the service where SQLServer is running under, to only have rights to READ th
e
mdb file. The NTFS and share settings are set accordingly.

This works fine on one server:

EXEC sp_addlinkedserver
@server = 'TEST',
@provider = 'Microsoft.Jet.OLEDB.4.0',
@srvproduct = 'OLE DB Provider for Jet',
@datasrc =  '\\myserver\myshare\
test.MDB'
GO

EXEC sp_serveroption 'TEST','use remote collation','FALSE'
GO

SELECT * FROM TEST...[my access table]

BUT... on another server this doesn't work, and I receive the following erro
r:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error.
[OLE/DB provider returned message: The Microsoft Jet database engine can
not
open the file  '\\myserver\myshare\
test.mdb'.  It is already opened
exclusively by another user, or you need permission to view its data.]
OLE DB error trace [OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0'
 IDBInitialize::Initi
alize returned 0x80004005:   ].

I am 100% sure that no one is using or locking this database.

Does anyone have some ideas?

Thanks,
Jan




Report this thread to moderator Post Follow-up to this message
Old Post
Jan
01-31-06 12:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 05:11 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006