SSL/wallet error trying to access Oracle DB from SSRS

落爺英雄遲暮 提交于 2019-12-10 19:24:21

问题


I'm trying to access a third party Oracle database from SQL Server Reporting Services. I had it working on previous versions of SQL Server and Oracle ODAC, but it's been several years. I'm now being forced into an upgrade, and when I try to create the data source in SSRS, I get the following error:

  • Network Transport: SSL failure in parsing wallet location

I created an ODBC connection and am able to successfully test the connection, so I know all of the settings in tnsnames.ora and sqlnet.ora are correct. I know SSRS is looking at the correct files because I can get a different error by changing the connect identifier to something made up. The wallet is in a sub-directory of the tnsnames file. I have tried placing the wallet location in both files, but no combination seems to work.

tnsnames.ora

<Connect Identifier> = 
  (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCPS)(HOST = <host>)(PORT = <port>)))
  (CONNECT_DATA = (SID = <SID>)(SERVER = DEDICATED))
  (SECURITY = (MY_WALLET_DIRECTORY = D:\Oracle\wallet))
  )

sqlnet.ora

WALLET_LOCATION= (SOURCE=
  (METHOD=file)
  (METHOD_DATA=(DIRECTORY=D:\Oracle\wallet)))

Current configuration

  • Windows Server 2016
  • Microsoft SQL Server 2016
  • 64-bit ODAC 12.2c

回答1:


The take away to solving this problem is each time you change the SQLORA.NET file you have to restart the SRSS Windows Service.



来源:https://stackoverflow.com/questions/44639641/ssl-wallet-error-trying-to-access-oracle-db-from-ssrs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!