sqlserver2005 job is failing

  • Hi,

    One of my sqlserver2005 job is failing with the below error.

    Message

    Executed as user: *****. Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)". [SQLSTATE 42000] (Error 50000) OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "Unspecified error". [SQLSTATE 01000] (Error 7412). The step failed.

    please provide the fix.

    thanks.

  • Try running the code in SSMS and see if you get a mor specific error.

  • Hi,

    I ran it in SSMS and getting the below error .

    OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "Unspecified error".

    Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)".

    thanks.

  • Is the linked server for an Access database or a spreadsheet? If it's a spreadsheet, it may be a permissions issue.

  • it is for access database.

  • Then I would check the path to the Access database in the linked server definition and make sure it exists.

  • yes, it exists.

  • Then I would try executing the code that's in the job in SSMS. If it works, then it might be SQL Agent service account permission issue. Linked servers to Access databases can be a pain.

  • I have executed the code that's in the job in SSMS,and getting the below error.

    OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "Unspecified error".

    Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)".

  • The you might want to try adding a linked server to that database for testing/troubleshooting, preferably on a development server, and see if you can access it and execute queries. Make sure that you actually have access to the location of the Access database.

  • job ran successfully after restart the sqlservice.

    but i am not able to find the root cause.

Viewing 12 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic. Login to reply