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
----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