ODP.NET Oracle.ManagedDataAcess random ORA-12570 errors

后端 未结 5 1566
有刺的猬
有刺的猬 2020-12-24 13:53

I\'m trying to migrate to Oracle.ManagedDataAcess from unmanaged version and receiving randoms ORA-12570 TNS:packet reader failure.

I don\'t know why this error sta

5条回答
  •  感动是毒
    2020-12-24 14:40

    I encountered this same intermittent error using SQL Server Reporting Services 2016 with ODAC 12c Release 4:

    Error:
    An error has occurred during report processing. (rsProcessingAborted) 
    Query execution failed for dataset 'TermPrompt'. (rsErrorExecutingCommand) 
    ORA-12570: Network Session: Unexpected packet read error 
    ORA-12570: Network Session: Unexpected packet read error 
    ORA-12537: Network Session: End of file
    

    Adding the pooling parameter Data Source="myOracleDB";Pooling="false" to the Oracle data source in SSRS completely resolved the problem.

    An immediate re-execution of the report works fine.

    I realize there are potential performance issues in creating a new connection each time rather than using the pool, but until Oracle fixes this, I don't want my users encountering this error.

提交回复
热议问题