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

3 posts, 0 answers
  1. Richard Koslik
    Richard Koslik avatar
    71 posts
    Member since:
    Apr 2010

    Posted 19 Jul 2010 Link to this post

    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. Richard Koslik
    Richard Koslik avatar
    71 posts
    Member since:
    Apr 2010

    Posted 20 Jul 2010 Link to this post

    OK,
    so after installing the latest Oracle .NET Tools (ODAC112011beta) it is now working without ploblems.
  3. DevCraft banner
  4. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 20 Jul 2010 Link to this post

    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
Back to Top