SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Linked server to Microsoft Access
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Xhen
Starting Member

Indonesia
3 Posts

Posted - 03/28/2013 :  05:13:16  Show Profile  Reply with Quote
Hello, i am trying to make linked server to microsoft access but still got errors on it, cannot initialize something like that. Anyone can help?

bandi
Flowing Fount of Yak Knowledge

India
2224 Posts

Posted - 03/28/2013 :  05:22:47  Show Profile  Reply with Quote
This link may help you........
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=104092
Go to Top of Page

prett
Posting Yak Master

USA
205 Posts

Posted - 03/28/2013 :  06:04:50  Show Profile  Visit prett's Homepage  Reply with Quote
Please refer this link: http://www.sqlservercentral.com/Forums/Topic1159903-146-1.aspx
Go to Top of Page

Xhen
Starting Member

Indonesia
3 Posts

Posted - 03/30/2013 :  04:52:22  Show Profile  Reply with Quote
sorry, it doesn't solve my problem. The situation is :
- the microsoft access file and the sql server are on the same computer
- i'm logging on to sql server 2005 using sql server authentication with user id : sa
- i'm trying these scripts

exec sp_addlinkedserver @server='Access',@srvproduct='Access',@provider='Microsoft.JET.OLEDB.4.0',@datasrc='D:\att2000.mdb'

exec sp_addlinkedsrvlogin @rmtsrvname='Access',@useself='false',@rmtuser='Admin',@rmtpassword=''

exec sp_tables_ex 'Access'

but then it got errors like this :

OLE DB provider "Microsoft.JET.OLEDB.4.0" for linked server "Access" returned message "Unspecified error".
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 "Access".

Go to Top of Page

russell
Pyro-ma-ni-yak

USA
5072 Posts

Posted - 04/01/2013 :  19:00:32  Show Profile  Visit russell's Homepage  Reply with Quote
Do any users, yourself included, have the mdb open?
Go to Top of Page

Xhen
Starting Member

Indonesia
3 Posts

Posted - 04/03/2013 :  06:01:15  Show Profile  Reply with Quote
No, the mdb file is not open by anyone
Go to Top of Page

MIK_2008
Flowing Fount of Yak Knowledge

Pakistan
1054 Posts

Posted - 04/03/2013 :  06:11:07  Show Profile  Reply with Quote
which office suit (2003, 2007) are you using?

Cheers
MIK
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000