Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 8th, 2005, 03:56 AM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to LiQUiD Send a message via Yahoo to LiQUiD
Default msdasql.1 as a provider

hi everybody, i have a problem regarding sql remote connection.

i have this connection string:
DRIVER={MySQL ODBC 3.51 Driver};DESC=;DATABASE=mydb;SERVER=myserver;UID=un ame;PASSWORD=pass;PORT=;OPTION=;STMT=;

connection source:
Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="DRIVER={MySQL ODBC 3.51 Driver};DESC=;DATABASE=mydb;SERVER=mydb;UID=uname; PASSWORD=pass;PORT=;OPTION=;STMT=;"

wherein mydb,uname, pass, & myserver are all confidentials.

when i run the program(vb6 of course), i get this message: "catastrophic error"

and when i try to test the connection is says: "The connection failed because of error in initializing provider." Im woondering cause my provider = msdasql right?

if my provider causes this problem, then what should i replace it?

Thanks so much.

 
Old February 8th, 2005, 07:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

see here for the right connection strings
http://www.able-consulting.com/ADO_Conn.htm
 
Old February 9th, 2005, 09:06 AM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to LiQUiD Send a message via Yahoo to LiQUiD
Default

thnks, do i need to have the provider or not? thnks again, i'll try to fix this thing out.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with membership Provider... slim182 ASP.NET 2.0 Basics 1 February 19th, 2007 10:15 AM
membership provider davyquyo ASP.NET 2.0 Basics 0 January 1st, 2007 04:52 AM
Membership Provider bmains ASP.NET 2.0 Basics 4 April 13th, 2006 04:10 PM
ADOX MSDASQL Access Properties Collection is EMPTY Xentrax Access 0 May 27th, 2004 10:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.