Quantcast
Channel: Oracle, MySQL, Sybase, Informix and other databases
Viewing all articles
Browse latest Browse all 1350

Unable to connect Oracle DB to Asp Application

$
0
0

Hi All,

New to Asp .Net , but have been tasked with copying a .Net application . I think I've done the hard part but I want the new application to point to another Oracle DB. All I can find is the

<connectionStrings>
    <add name="DefaultConnection" connectionString="Data Source=|DataDirectory|\aspnet.sdf" providerName="System.Data.SqlServerCe.4.0" />
    <add name="myschemaContainer" connectionString="metadata=res://*/DataContext.myschema.csdl|res://*/DataContext.myschema.ssdl|res://*/DataContext.myschema.msl;provider=Oracle.DataAccess.Client;provider connection string=&quot;DATA SOURCE=mySID;PASSWORD=tiger;PERSIST SECURITY INFO=True;USER ID=scott&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>

My problem is I thought hte data source would been linked back to the tnsnames.ora file to reference the SID but I've changed this and added the new SID and to no avail.

any thoughts/Questions for more info would be greatly appreciated


Viewing all articles
Browse latest Browse all 1350

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>