Excel Linked server

  • We recently changed the system startup service from the system account to a domain user account. We had been using a linked server (using Jet 4.0 OLE DB provider) to connect to an excel spreadsheet on a share on the same machine as SQL Server. Once we switched accounts the linked server no longer functions.

    Server: Msg 7399, Level 16, State 1, Line 1

    OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error. 

    [OLE/DB provider returned message: Unspecified error]

    OLE DB error trace [OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0' IDBInitialize::Initialize returned 0x80004005:   ].

    I have verified the domain account can open the spreadsheet by logging in using that account and opening the spreadsheet.

    Any help appreciated.

  • Stephen,

    Have you checked the SQL Errorlog to see if you're getting anything reported in there?  May also be worth changing the audit level so that you capture failed logins (if you haven't got it set already) and see if that's your problem?  Failing this try dropping the linked server and creating it again using sp_dropserver and sp_addlinkedserver.

    ll

  • Have you checked the security information of the Linked Server?

  • Thanks for your suggestions.

    Tried the audit of failed logins. Nothing.

    The only error trapped is :

    OLEDB Errors   OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0' IDBInitialize::Initialize returned 0x80004005:      SQL Query Analyzer           

     

    I've tried a few security options to no avail. It used to work with the 'Be made with using the login's current security context' with using the system account login.

     

    I've deleted and recreated the linked server many times.

     

    I have an instinct this has something to do with Jet driver security but no proof.

  • Try this,

    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=53340

     

    --------------------
    Colt 45 - the original point and click interface

  • And this one as well,

    http://support.microsoft.com/default.aspx?scid=kb;en-us;814398

     

    --------------------
    Colt 45 - the original point and click interface

  • The last one (Microsoft link)  worked !

     

    Thank you for your help !

Viewing 7 posts - 1 through 6 (of 6 total)

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