Solved

Could not create an instance of OLE DB  SQL Schedule job fails

Posted on 2007-03-21
5
1,115 Views
Last Modified: 2011-09-20
Hi,
There is a scheduled job on our SQL server that processes in 8 steps. The first step is to copy Excel files from  a template folder to populate it with the particular days date. The  rest of the step invoke stored procedures . The joba wwere running ok until yesterday when the first step is successful and the rest fail.
The error for the failed steps is
"Executed as user: NT AUTHORITY\SYSTEM. Could not create an instance of OLE DB provider 'Microsoft.Jet.OLEDB.4.0'. [SQLSTATE 42000] (Error 7302)  OLE DB error trace [Non-interface error:  CoCreate of DSO for Microsoft.Jet.OLEDB.4.0 returned 0x80040154]. [SQLSTATE 01000] (Error 7300).  The step failed."

0
Comment
Question by:ssosw2
  • 2
  • 2
5 Comments
 
LVL 21

Expert Comment

by:ziolko
ID: 18762597
0x80040154 is: Class not registered did you install/uninstall any software??

easiest way might be reinstalling MDAC components (just make sure you install correect one with jet engine) but check with MDAChecker before avali. here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=8F0A8DF6-4A21-4B43-BF53-14332EF092C9&displaylang=en

ziolko.
0
 

Author Comment

by:ssosw2
ID: 18762737
I had done an installation for an HP printer LJ 4345
0
 
LVL 21

Accepted Solution

by:
ziolko earned 500 total points
ID: 18762755
Class not registered means that some COM DLL is missing or is not registered, i don't think that printer driver would spoil OLE DB but you never know.

check MDAC version and re-install it if needed

ziolko.
0
 

Author Comment

by:ssosw2
ID: 18834547
Server restart got rid of the problem. Still not sure of the cause.
0
 

Expert Comment

by:WPSLNetops
ID: 21230662
I have the same problem in SQL2000 cluster , each time it happens I have to fail over to another node and problem goes away, but it come back again after few day!!

any solution other than re-start will be greatly appriciated.
Thanks


0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now