SQL Server 2005 into Excel with OPENROWSET MSG 7399/7303 -
my patience @ end issue. run jobs via ssms or agent have been working fine until last week insert data tables/views various excel files.
most recently, jobs/code keep running while never finishing...these jobs use take up-to 15-25 seconds complete never end. i've tested code below on new sheet , goes instantaneously! error i'm getting doesn't help, solutions i've found in google no or set.
any ideas cause openrowset export bomb out , not job?
code run works:
insert openrowset('microsoft.ace.oledb.12.0', 'excel 12.0;hdr=yes;database=c:\automation\dynamic\output\file.xlsx;', 'select * [data$]') select * [reporting].[dbo].[tbl_table]
the current error message:
msg 7399, level 16, state 1, line 1
ole db provider "microsoft.ace.oledb.12.0" linked server "(null)" reported error. provider did not give information error.
msg 7303, level 16, state 1, line 1
cannot initialize data source object of ole db provider "microsoft.ace.oledb.12.0" linked server "(null)".
system:
- sql server 2005 32-bit on windows xp 32-bit
updated/edited information:
excel sheets contain either functions on separate tab or charts extrapolating data [data$] tab (if of helps)
i have created brand new worksheet , tested insert query , worked perfectly
the source file not created on server, instead transferred via share drive (i don't think matter though)
any appreciated!!
thanks
i have had same issue , seemed correct restarting sqlserver service
Comments
Post a Comment