Linked Server Question

5 pts.
Tags:
Linked Server
Linking Access and SQL Server
Microsoft Access
Microsoft Access 2003
SQL Server 2005
I am trying to link an existing Access 2003 password protected database to a newly installed SQL Server 2005 Express database engine. I am using the ‘Add Linked Server Access MDB’ template in Management Studio to create the linked server. The linked server is created without error, however when I try to access it, I get the following error: OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "Database1" 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 "Database1" reported 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 "Database1". A screen cast of the process I am following can be viewed at: http://www.okacs.com/screencasts/Linked Server - Secured MS Access.swf And this is the SQL that I am using to create the linked server: -- ======================================== -- Add Linked Server Access MDB template -- ======================================== EXEC sp_addlinkedserver @server = N'Database1', @provider = N'Microsoft.Jet.OLEDB.4.0', @srvproduct = N'OLE DB Provider for Jet', @datasrc = N'C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDataDatabase1.mdb' GO -- Set up login mapping using current user's security context EXEC sp_addlinkedsrvlogin @rmtsrvname = N'Database1', @useself = N'FALSE', @locallogin = NULL, @rmtuser = N'Admin', @rmtpassword = 'secret' GO -- List the tables on the linked server EXEC sp_tables_ex N'Database1' GO -- Select all the rows from the Customer table SELECT * FROM Database1...Customers

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following