程序連接oracle很慢的問題


日志信息:System.Data.Entity.Core.ProviderIncompatibleException: An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct. ---> System.Data.Entity.Core.ProviderIncompatibleException: The provider did not return a ProviderManifestToken string. ---> Oracle.ManagedDataAccess.Client.OracleException: 連接請求超時

通過sqlplus可以正常登陸,但是plsql無法登陸,判斷應該是監聽程序的問題,網上查資料發現是oracle的一個bug,當監聽日志大於4g的時候會導致該情況。

解決方法:

1.刪除監聽日志或者重命名監聽日志。

2.關閉監聽日志

  LSNRCTL>set current_listener <listener_name>LSNRCTL>set log_status OFFLSNRCTL>save_config

 

參考鏈接:http://blog.itpub.net/12679300/viewspace-1169839/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM