SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


linked server between sql server 2005 and excel 2010 proplem


linked server between sql server 2005 and excel 2010 proplem

Author
Message
ahmed_elbarbary.2010
ahmed_elbarbary.2010
Mr or Mrs. 500
Mr or Mrs. 500 (544 reputation)Mr or Mrs. 500 (544 reputation)Mr or Mrs. 500 (544 reputation)Mr or Mrs. 500 (544 reputation)Mr or Mrs. 500 (544 reputation)Mr or Mrs. 500 (544 reputation)Mr or Mrs. 500 (544 reputation)Mr or Mrs. 500 (544 reputation)

Group: General Forum Members
Points: 544 Visits: 230
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search