This is a migrated thread and some comments may be shown as answers.

oracle in silverlight project -> ORA-12154: TNS:could not resolve the connect identifier

2 Answers 162 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Richard Koslik
Top achievements
Rank 1
Richard Koslik asked on 19 Jul 2010, 04:01 PM
Hello,
i have a Silverlight project with a "OpenAccess Domain Model" and also a "OpenAccess Domain Service" inserted. In the Domainmodel i have a connection to my Oracle Database (10g Enterprise Edition Release 10.1.0.2.0).
All the tables are visible and i have inserted one table into the model.

In the Web.Config the connectionString looks as following:

<

 

 

add name="OracleDomainModel" connectionString="Data Source=MYDB;User Id=ORM;Password=ORM;Integrated Security=no;" providerName="System.Data.OracleClient" />

 


At the silverlight project side i have only a Datagrid connected to the table source.
After running the project the browser comes up with a empty DataGrid and immediately a error is rised.
ORA-12154: TNS:could not resolve the connect identifier 
The code at the error is:
public IQueryable<CUSTOMER_NEW> CUSTOMER_NEWs 
{
  get
  {
      return this.GetAll<CUSTOMER_NEW>();
  }
}

I have done the project connected to a MsSQL Server without any errors!
Does anyone have a suggestions what is wrong with the oracle connection?

2 Answers, 1 is accepted

Sort by
0
Richard Koslik
Top achievements
Rank 1
answered on 20 Jul 2010, 09:14 AM
OK,
so after installing the latest Oracle .NET Tools (ODAC112011beta) it is now working without ploblems.
0
PetarP
Telerik team
answered on 20 Jul 2010, 06:11 PM
Hello Richard Koslik,

 We are happy that you could resolve the problem by yourself. Please if you face any further difficulties do not hesitate to contact us.

Greetings,
Petar
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Getting Started
Asked by
Richard Koslik
Top achievements
Rank 1
Answers by
Richard Koslik
Top achievements
Rank 1
PetarP
Telerik team
Share this question
or