日志信息: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