Hi,
I have Reporting Services 2008 R2 installed.
I'm trying to create data driven subscription based on data from excel file which is stored on file share on the same server where ssrs is installed.
I've created ODBC data source on the server (System DSN) named MyExcelFileDSN. It is provided with file location on the server, something like C:\MyExcelFile.xls.
I'm trying to create new data driven subscription without shared data source (with shared data source it makes no difference). While creating data source connection i'm using Data source type=ODBC and connection string "DSN=MyExcelFileDSN".
To connect to data source i'm using special domain account which is created specifically for creating reports on SSRS, so this account has full access to report manager and file share but he is not local admin on the server.
On query window i insert my query to retrive data for subscription. When i click validate im expiriencing different behavior which is described in next list:
1) If i logged on under my account (local admin) and "<label for="ui_chkStoreWindows">Use as Windows credentials when connecting to the
data source</label>" is not checked then all is fine.
2) If i logged on under my account (local admin) and "<label for="ui_chkStoreWindows">Use as Windows credentials when connecting to the
data source</label>" is checked then ther error described below appears.
3) If i logged on under ssrs report account which used to access datasource and no matter if "<label for="ui_chkStoreWindows">Use as Windows credentials when connecting to the
data source</label>" is checked or not then i get the error described below.
4) if i grant ssrs report account local admin rights on the server then validation works.
Error message for 2) and 3):
ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.DataSourceOpenException: , Microsoft.ReportingServices.Diagnostics.Utilities.DataSourceOpenException: Cannot create a connection to data source ''. ---> System.Data.Odbc.OdbcException: ERROR [HY000] [Microsoft][ODBC Excel Driver] Your network access was interrupted. To continue, close the database, and then open it again.
I want to mention that this error was not appearing on SSRS 2005, it have only started to appear on SSRS 2008 R2.
Could someone please help me with this?
Best regards, Chernobrivets