Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Multiuser > Linked Server f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 2074 of 2176
Post > Topic >>

Linked Server from SQL Server To Access Problem

by "NigelA" <discussion@[EMAIL PROTECTED] > Jan 23, 2008 at 01:51 PM

I have set up the linked server OK but it is failing to connect properly. 
Anyone know what I need to do to fix this?
I have also posted this in sqlserver.programming where someone suggested I

post it in an Access newsgroup. This one seemed most likely.

Scripts and precise error message below.

EXEC sp_addlinkedserver
 @[EMAIL PROTECTED]
 = N'MyAccessDB',
 @[EMAIL PROTECTED]
 = N'Microsoft.Jet.OLEDB.4.0',
 @[EMAIL PROTECTED]
 = N'Access',
 @[EMAIL PROTECTED]
 = N'\\mynetwork\dfs\CallCentre\Germany\Departments\Hotline\'
GO
-- Runs OK


-- Set up login mapping
EXEC sp_addlinkedsrvlogin
 @[EMAIL PROTECTED]
 = N'MyAccessDB',
 @[EMAIL PROTECTED]
 = N'false',
 @[EMAIL PROTECTED]
 = NULL,
 @[EMAIL PROTECTED]
 = N'operations',
 @[EMAIL PROTECTED]
 = 'MyAccess'
GO
-- Runs OK


-- List the tables on the linked server
EXEC sp_tables_ex N'MyAccessDB'
GO
-- Gives message
--OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "MyAccessDB"
returned message "Cannot start your application. The workgroup information
file is missing or opened exclusively by another user.".
--Msg 7399, Level 16, State 1, Procedure sp_tables_ex, Line 41
--The OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server
"MyAccessDB" re****ted an error. Authentication failed.
--Msg 7303, Level 16, State 1, Procedure sp_tables_ex, Line 41
--Cannot initialize the data source object of OLE DB provider
"Microsoft.Jet.OLEDB.4.0" for linked server "MyAccessDB".

Notes: The access db is definately not opened exclusively by another user
as 
I
can open it OK via Access itself using the same credentials.

TIA
Nigel Ainscoe
 




 4 Posts in Topic:
Linked Server from SQL Server To Access Problem
"NigelA" <di  2008-01-23 13:51:36 
Re: Linked Server from SQL Server To Access Problem
Tom van Stiphout <no.s  2008-01-23 07:27:40 
Re: Linked Server from SQL Server To Access Problem
"NigelA" <di  2008-01-23 21:52:57 
Re: Linked Server from SQL Server To Access Problem
"Albert D. Kallal&qu  2008-01-24 22:40:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Nov 20 1:34:11 CST 2008.