简体   繁体   中英

“the provider did not return a providermanifesttoken” using Oracle MangedDataAccess with EF 6 Code First

I have an web application that was using oracle 11g, EF 5 code first and system.data.oracleclient.

So now, It was upgraded to EF 6 and Oracle Managed Data Access.

The ODP .Net is installed. This error happens only when I am using TNS in connection string. If I write the full connection string, with TNS, it works fine.

My connection string is:

<add name="CoreDbContext" connectionString="data source=DBCONN;password=TIS;user id=TIS" providerName="Oracle.ManagedDataAccess.Client"/>

What is wrong?

基本上,我重新安装了Oracle数据提供程序,它工作正常。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM