Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / April 2006

Tip: Looking for answers? Try searching our database.

Use of ODBC in C++ .NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nishi.hirve@gmail.com - 05 Apr 2006 06:29 GMT
Hello,

I want to use postgreSQL database in my C++ .NET application but when I
try to connect to it, through connect to database, it is shows dialog
box as follows:

Unable to connect to database
It is possible to connect to SQL Server Desktop Engine Databases and
Microsoft Access databases with this version of visual studio.

Please tell me the solution.

Thanks in Advance,
Nishi
Bruno van Dooren - 05 Apr 2006 07:56 GMT
> Hello,
>
[quoted text clipped - 7 lines]
>
> Please tell me the solution.

Which datasource and data provider did you select?
try using <other> for data source and '.NET framework data provider for
ODBC' for data provider.
if that doesn't work, are you sure that your DSN or connection string is
correct? or your login information?

try creating a DSN in control panel->administrative tools -> data sources
can you make a DSN there? if not then I think mySql is not installed or
configured correctly.

you can test the connection in the DSN configuration screen. if it works
there, then you should be able to use it as an ODBC data source in the
'connect to database tool' (with the correct name and password of course.

alternatively, you can also check on
microsoft.public.data.odbc or microsoft.public.dotnet.framework.odbcnet

I noticed that there are people there discussing mySql, so they can probably
help you with much more detail.

Signature

Kind regards,
   Bruno.
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"

nishi.hirve@gmail.com - 07 Apr 2006 07:10 GMT
thanks for your its working now.

Nishi

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.