Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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 April 6th, 2006, 07:06 AM
Authorized User
Join Date: Aug 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Star007
Default Run-time Error '3706' Provider cannot be found


the error msg is : Run-time Error '3706'
Provider cannot be found. It may not be properly installed.

I am having problem with my VB application. I was using sql server 2000 local on my pc with VB and it was working fine. NOw I have sql server 2005 express on a network pc.

when I changed the connection string for that, I am getting the above error

here is my connection string:

Dim cn As ADODB.Connection
    Set cn = New Connection
    cn.ConnectionString = "Provider=SQLNCLI.1;Integrated Security=SSPI;" & _
        "Persist Security Info=False;" & _
        "AttachDBFileName=" & App.Path & "\xstar_Data.mdf;Data Source=starsql\sqlexpress"

please help me.

I try installing the latest mdac_tpe and vbrun60sp5.exe for VB

but no help.

please help?????????


Old August 10th, 2006, 05:02 AM
Registered User
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Did you solve your problem yet?
I got the same error after implementing one of my VB app that connecting to SQL2005 using SQLNCLI provider. What version of MDAC do the machine need?
Please help.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run-time Error '3706' Star007 Beginning VB 6 1 April 20th, 2006 11:58 AM
Run-time error 3706 jmss66 VB How-To 14 April 6th, 2006 08:14 AM
Run-time Error '3706' Star007 VB Databases Basics 0 April 6th, 2006 07:01 AM
Run-time Error '3706' Provider cannot be found. It Star007 Pro VB Databases 1 April 5th, 2006 04:55 PM
VBA/ODBC Error. Provider Not Found.Driver not I manO-kumar Access VBA 2 November 24th, 2004 12:59 PM

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