Find Jobs
Hire Freelancers

Connect TimesTen database from C# asp.net

$30 USD

In Progress
Posted over 12 years ago

$30 USD

Paid on delivery
Hi, I'm trying to connect to Oracle TimesTen database using c# .net and having problem. The error is "ORA-29158: Unable to open library". However, it works fine when I use SQL Developer to access. The error is when it called [login to view URL](); Any idea? I think I missed configuration some where. Thanks, LT ------------------------------------------------------ db = "mytns_sampledb_1121"; user = "appuser"; pwd = "mypassword"; count++; try { string connStr = "Data Source=" + db + ";user id=" + user + ";password=" + pwd + ";Statement Cache Size=0"; OracleConnection conn = GetConnection(connStr); //To fill DataSet and update datasource OracleDataAdapter productsAdapter = new OracleDataAdapter(); //In-Memory cache of data DataSet productsDataSet; //Fetch Product Details [login to view URL] = new OracleCommand("SELECT * FROM PRODUCT", conn); //Instantiate DataSet object productsDataSet = new DataSet("productsDataSet"); //Fill the DataSet with data from 'Products' database table [login to view URL](productsDataSet, "PRODUCT"); [login to view URL]("Completed"); } catch (Exception ex) { } ------------------------------------------------------ public OracleConnection GetConnection(String connStr) { OracleConnection con = new OracleConnection(); [login to view URL] = connStr; [login to view URL](); return con; }
Project ID: 1333702

About the project

1 proposal
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $30 USD for this job
User Avatar
I can fix it.
$30 USD in 0 day
5.0 (65 reviews)
7.0
7.0

About the client

Flag of UNITED STATES
Lawrenceville, United States
0.0
0
Member since Feb 7, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.