Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Database Application Development
Windows and .NET
Oracle Providers for ASP.NET
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Nov 29, 2012 6:30 AM by
ORA-12154: TNS:could not resolve the connect identifier specified
Nov 28, 2012 10:53 PM
I have tsnname :
(ADDRESS = (PROTOCOL = TCP)(HOST =thanhnh-pc)(PORT = 1521))
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
when I login by Pl/Sql Developer that is ok,
when I connect to oracle on MVC 4 .net 2012(Windows 7 64 Bit) then error: ORA-12154: TNS:could not resolve the connect identifier specified
<add name="OConnectionString" connectionString="Data Source= MVC_Test ;User ID=thanhnh;password=abc123" providerName="System.Data.OracleClient">
Please help me
This content has been marked as final.
Show 1 reply
Re: ORA-12154: TNS:could not resolve the connect identifier specified
Nov 29, 2012 6:30 AM
in response to
I haven't tried this at all, but System.Data.OracleClient in your connection string is the old depreciated Microsoft provider.
Try changing it to "Oracle.DataAccess.Client".