Is there a way to use tnsnames.ora in Mobile?

Is there a way to use tnsnames.ora in Mobile?

Postby Jes_Gru » Thu 11 Jun 2009 16:16

As IP addresses and ports can change is there a way to use tnsnames.ora file using the mobile version of dotConnect on a CE device?

So the connection string could be:

string connString = "Data Source=idbsdev;User ID=name;Password=password;";

instead of:

string connString = @"user id=name;Password=password;server=;sid=idbsdev;port=1526;";

The tnsnames.ora entry is: =
(Host = mfgdev)
(Port = 1526)
(SID = idbsdev)
Posts: 1
Joined: Thu 11 Jun 2009 15:57

Postby Shalex » Fri 12 Jun 2009 16:06

The tnsnames.ora file cannot be used on mobile devices because there is no appropriate mobile version of Oracle client. If you want to change the connection string dynamically, please place it to the *.config file of your application.
Devart Team
Posts: 7293
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for Oracle