FairCom Corporation
 
FairCom Start PageFairCom ProductsDownloadsDeveloper SupportSales InformationFairCom CustomersFairCom Company InformationContact FairCom

Homebulletgrey.gifeNewsletterbulletgrey.gifVolume 21bulletgrey.gifDNS-less Connection Strings in a .NET Application


DNS-less Connection Strings in a .NET Application

Question:

I want to use a .NET application to connect to the c-treeSQL ODBC driver using a DSN-less connection string. What is required?

Answer:

Your application should include `using System.Data.Odbc' and the following string for the default installation on a local machine.

string connectString=
   "DRIVER={c-treeSQL ODBC Driver}; TRUSTED_CONNECTION=false;"; 
   connectString += "HOST=localhost; DATABASE=ctreeSQL;";
   connectString += "UID=ADMIN; PWD=ADMIN;";

The values of HOST, DATABASE, UID, and PWD are substituted as appropriate for your c-treeSQL Server installation.

Microsiga Software is a Brazilian Company specializing in technology and systems development for enterprise management, with its sole focus on the corporate sector. With over 20 years of proven technology and services, Microsiga is the undisputed market leader in Brazil and a key player in other Latin American countries. One of the main factors that contribute to Microsiga's ongoing success is that they offer products and solutions to companies of all sizes in all market segments. Microsiga integrates FairCom as one of the database partners. Microsiga has chosen FairCom due to its flexibility, portability, reliability, and performance..

FairCom is the only database available for use on Unix platforms (including Linux) for the control of the data dictionary, and it is now the default database for Windows as well. Microsiga and FairCom worked closely for over a year on a number of aspects related to the Advanced Protheus project, including the integration of Microsiga's application server and the c-tree Server into a single executable, allowing for unprecedented scalability.

Read More... (860KB PDF)

FairCom Start PageSite MapContact FairComThe FairCom Privacy Policy Your Location: USA | Europe | Brazil | Japan
Copyright 2012 FairCom Corporation. All rights reserved.