Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Dear Sir,
I have to connect oracle database to C# web application.but i unable to connect and i got error
i share my oracle database information.
username : portal
password : portal
connection name : host
port : 1836
service name : recharge

I share my database connection code.

string str="";
oracleconnection con = new oracleconnection(str);

I make the connection code , but its not connect and got error "TNS:could not resolve the connect identifier specified at System.Data.OracleClient.OracleException."

any body give me "str" c# connection string code with above oracle database information.

Regards,
Ravi
Posted

 
Share this answer
 
v3
Comments
Monjurul Habib 9-Jun-11 18:09pm    
nice links, my5.
Connection strings for Oracle[^], start there :-)
 
Share this answer
 
Comments
Monjurul Habib 9-Jun-11 18:08pm    
nice link, my5.
Kim Togo 10-Jun-11 3:43am    
Thanks
Similar post,you will find some links over here
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900