Home > database >  VS2017 Oracle EF solve ORA - 12154: TNS: cannot resolve the specified link identifier
VS2017 Oracle EF solve ORA - 12154: TNS: cannot resolve the specified link identifier

Time:11-20

Connection string is automatically generated, add data when prompted "provider based on the Open failure,"
Below is the configuration file
<? The XML version="1.0" encoding="utf-8"?>


RequirePermission="false"/& gt;
Type="HTTP://OracleInternal.Com. Mon ODPMSectionHandler, Oracle ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89 b483f429c47342"/& gt;




The connectionString="metadata=res://*/Model1 CSLD | res://*/Model1 SSDL | res://*/Model1 MSL. The provider=Oracle. ManagedDataAccess. Client; The provider connection string=& amp; quot; DATA SOURCE=wouldn; PASSWORD=123456; USER ID=SCOTT& Quot;"
ProviderName="System. The Data. The EntityClient"/& gt;
The connectionString="User Id=oracle_user; Password=oracle_user_password; Data Source="oracle/& gt;



Type="Oracle. ManagedDataAccess. EntityFramework. EFOracleProviderServices, Oracle. ManagedDataAccess. EntityFramework, Version=6.122.19.1, Culture=neutral, PublicKeyToken=89 b483f429c47342"/& gt;




Type="Oracle. ManagedDataAccess. Client. OracleClientFactory, Oracle. ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89 b483f429c47342"/& gt;

















How to solve this problem, make a day, urgent

CodePudding user response:

Finally, finally done
  • Related