Microsoft KB Archive/870668

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

Article ID: 870668

Article Last Modified on 11/22/2005

-

APPLIES TO


 * Microsoft SQL Server 2000 Reporting Services
 * Microsoft SQL Server 2005 Reporting Services

-



SYMPTOMS
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.



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



WORKAROUND
To work around this problem, add permissions for the NETWORK SERVICE security principal to the Oracle\ \bin directory and to the Oracle\ \network\admin directory. To do this, follow these steps.
 * 1) Locate the Oracle\ \bin directory, right-click the directory, and then click Properties.
 * 2) Click the Security tab, and then click Add.
 * 3) Under Enter object names to select, type network service, and then click OK.
 * 4) In the Group or user names box, click NETWORK SERVICE.
 * 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 OK.
 * 8) Click OK.
 * 9) Locate the Oracle\ \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 Services.
 * 12) Locate the ReportServer service.
 * 13) Right-click the ReportServer service, and then click Restart.

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:

NT Authority\NetworkService



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbprb KB870668

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.