Home » Open Source » Programming Interfaces » Problem Connection to 10g from .Net Service
Problem Connection to 10g from .Net Service [message #293210] Fri, 11 January 2008 03:54 Go to previous message
jholzer
Messages: 3
Registered: January 2008
Junior Member
Hi!

I have some problems connecting to a 10g-database from a .Net2.0-Service.

I use the data-access-components 10.2.0.2.21 for accessing the DB.
In my test-environment (local TNSnames.ora) everything works fine.
The productive environment uses a centralized tnsnames-resolution.
When i connect the DB from sqlplus on the prod-env. i get a connection with
sqlplus user/password@datasource.location.domain
tnsping datasource.location.domain
also works.
But when i start my service i get the excetion "Oracle.DataAccess.Client.OracleException ORA-12154, TNS: Angegebener Connect Identifier could not be resolved"

Do i have to do some more configuration on the DAC?
Who can help me?

Thanks a lot!

Greetings

JH

[Updated on: Fri, 11 January 2008 03:57]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How do I Pass Params and Call A Simple PL/SQL Query from C#.NET 2.0?
Next Topic: Oracle and Ruby On Rails
Goto Forum:
  


Current Time: Thu Apr 25 20:06:08 CDT 2024