Click here to Skip to main content
12,765,284 members (37,252 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET Oracle
I want to make an C# application where database is Oracle Express 10g.
Now I cant make a connection with oracle in visual studio 2010. I am facing a problem

ORA-12154: TNS: Could not resolve the connection identifier specified

My connection string:

<add name="ConStr2" connectionString="Data Source=Rashed ;User ID=TestDB;Password=sa123" providerName="System.Data.OracleClient"/>

64-bit Operating System

Database Version:
Oracle Database 10g Express Edition Release - Product
PL/SQL Release - Production
CORE Production
TNS for 32-bit Windows: Version - Production
NLSRTL Version - Production


NB: My oracle db is running. I am using visual studio 2010

Posted 28-Nov-12 1:32am
Updated 10-Dec-12 0:47am

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100