Quantcast
Channel: SQL Server Reporting Services, Power View 포럼
Viewing all articles
Browse latest Browse all 24955

Location of tnsnames.ora file for Oracle connection from Reporting Services 2008 R2 (x64)

$
0
0

After some effort (and with help from forum postings) I've succesfully installed SQL Server 2008 R2 Standard Edition (x64) Reporting Services and a suitable 64 bit Oracle 11g client on a Windows 2008 (64 bit) server.

I can create a Shared Data Source connecting to Oracle using either type=Oracle or Type=OLE DB and Connection String with hard coded Data Source parameters:

e.g.

Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MyOracleSID)));

However, I would normally just use Data Source = <database> and allow the Oracle client to find the correct TNS entry in the tnsnames.ora file. The location of this file is set in the TNS_NAMES entry in the registry. Unfortunately I can't get this method to work and the TNS not found error occurs. This applies whether I put the .ora file on the local drive, or on the network share where it normally goes (and set the registry entry)

Does anyone know why this is happening and how to resolve? I wondered if the SSRS account which was running the reports was unable to see this location? I'm not sure how to find out which account is doing this.

Any help appreciated

Eric

 

P.S. The post at http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/ab662d63-6385-4f73-b27f-d526048f601f/ was of some help but not for this particular problem.

Note that a cmd prompt sqlplus connection works succesfully using the tnsnames file

 

 


Eric

Viewing all articles
Browse latest Browse all 24955

Latest Images

Trending Articles



Latest Images