Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linked server between sql server 2005 and excel 2010 proplem

Status
Not open for further replies.

ahm1985

Programmer
Dec 6, 2012
138
EG
Hi guys i have one problem when i create linked server show data from excel sheet1 in sql server 2005 it give me this error
----error
OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "TEST65442339" returned message "Cannot start your application. The workgroup information file is missing or opened exclusively by another user.".
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "TEST65442339" reported an error. Authentication failed.
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "TEST65442339".
---error---------------

the linked server i create is as following :
EXEC master.dbo.sp_addlinkedserver

@server = N'TEST6544233',

@srvproduct=N'Excel 12.0',

@provider=N'Microsoft.ACE.OLEDB.12.0',

@datasrc=N'C:\spare.XLSX',

@provstr=N'Excel 12.0;HDR=Yes'
select * from TEST6544233...[sheet1$]

why this problem made
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top