Reporting Services may not be able to run reports against Oracle databases


If you are using Microsoft SQL Server Reporting Services, Reporting Services subscriptions may not be able to run any reports against Oracle databases. You may receive a System.DllNotFoundException exception.


This problem occurs because some Oracle files and directories must have additional security settings so that reports can run against Oracle databases.


To work around this problem, add permissions for the NETWORK SERVICE security principal to the Oracle\Oracle version\bin directory and to the Oracle\Oracle version\network\admin directory. To do this, follow these steps.
  1. Locate the Oracle\Oracle version\bin directory, right-click the directory, and then click
  2. Click the Security tab, and then click
  3. Under Enter object names to select, type
    network service, and then click
  4. In the Group or user names box, click
  5. Under Permissions for Network Service, click to select the Read & Execute check box.
  6. Click Advanced.
  7. Click the Allow inheritable permissions from the parent to propagate to this object and all child objects. Include these with the entries explicitly defined here box, and then click
  8. Click OK.
  9. Locate the Oracle\Oracle version\network\admin directory, right-click the directory, and then click Properties.
  10. Repeat steps 2 through 8.
  11. Click Start, point to
    Administrative Tools, and then click
  12. Locate the ReportServer service.
  13. Right-click the ReportServer service, and then click
For Reporting Services 2005, the issue not only affects the execution of subscriptions through the Reporting Services Windows Service, but also affects the regular execution of reports through the Reporting Services Web Service. Therefore, the account for the Reporting Services Windows Service and the Reporting Services Web Service must have read & execute permissions on the Oracle installation directories from the previous procedure.

Note To verify the configured account for the Reporting Services Web Service, you can open the RSReportServer.config file. You will find informaiton that is similar to the following:

<WebServiceAccount>NT Authority\NetworkService</WebServiceAccount>


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Article ID: 870668 - Last Review: Sep 12, 2008 - Revision: 1