none
"OPENDATASOURCE" query and linked server fails after changing the SQL Server service startup account RRS feed

  • Question

  • Recently I have changed the SQL Server service startup account for one production SQL Server. While changing the service account, I have already added the account into the local administrator group, and I have restarted the SQL Server service after changing the account.
    But today when I executed below query, I got an error message, and I couldn't think out how to solve the issue:

    --query
    SELECT * FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0','Data Source=D:\anz_200x.xls;Extended Properties=Excel 8.0')...Sheet1$

    --error message
    OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "Unspecified error".
    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 "(null)".

    Does anyone have an idea how to solve this problem without restart the server? Thanks so much! any ideas would be appreciated!

    BTW, there is another SQL Server which has changed startup account too, but everything is working fine...

    Thursday, July 9, 2009 7:01 AM