none
Configuring linked server for a service account - error authenticating

    Question

  • I am trying to run a report through SSRS 2008 web interface.  The credentials that are being used to execute the report are through a service account.  The point of using a service account was so that the subscriptions feature could be used.  However, two particular reports connect directly though a linked server to an excel workbook.  I get the following error when I try to execute the report:

     

    • An error has occurred during report processing. (rsProcessingAborted)
      • Query execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand)
        • The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "YTWCHECK" reported an error. Authentication failed. Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "YTWCHECK".

    How can I correctly add my service account to the linked server?

     

     


    ddd
    Monday, April 11, 2011 8:41 PM

Answers

  • I actually called micrsoft and it happened to be an authentication issue related to the folder where the file was.  My service account did not have permissions to that folder.

     

    See below:

    •    Symptom - Running a Report in SSRS and gets this error An error has occurred during report processing. (rsProcessingAborted) Query execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand) The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "HYACTRADES" reported an error. The provider did not give any information about the error. Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "HYACTRADES".

        •    Cause - Execution Account did not have proper permissions to folder where Excel file was located
        •    Resolution - Gave the Execution account READ/EXECUTE and MODIFY permissions and then the Linked server and Report displayed the data as expected.

     


    ddd
    • Marked as answer by dbansal Wednesday, April 13, 2011 2:59 PM
    Wednesday, April 13, 2011 2:59 PM

All replies

  • Hello,

    Please see the following resource:

    http://blogs.msdn.com/b/sql_protocols/archive/2006/08/10/694657.aspx

    Hope this helps.

    Regards,

    Alberto Morillo
    SQLCoffee.com

     

    Monday, April 11, 2011 9:46 PM
  • I actually called micrsoft and it happened to be an authentication issue related to the folder where the file was.  My service account did not have permissions to that folder.

     

    See below:

    •    Symptom - Running a Report in SSRS and gets this error An error has occurred during report processing. (rsProcessingAborted) Query execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand) The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "HYACTRADES" reported an error. The provider did not give any information about the error. Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "HYACTRADES".

        •    Cause - Execution Account did not have proper permissions to folder where Excel file was located
        •    Resolution - Gave the Execution account READ/EXECUTE and MODIFY permissions and then the Linked server and Report displayed the data as expected.

     


    ddd
    • Marked as answer by dbansal Wednesday, April 13, 2011 2:59 PM
    Wednesday, April 13, 2011 2:59 PM