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:
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?