Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
| Search | Today's Posts | Mark Forums Read
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases 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
  #1 (permalink)  
Old April 5th, 2006, 04:53 PM
Authorized User
 
Join Date: Aug 2004
Location: toronto, ontario, Canada.
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. It

hi,
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"
    cn.Open



please help me.

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

but no help.


please help?????????

***************
__________________
***************
  #2 (permalink)  
Old April 5th, 2006, 04:55 PM
Authorized User
 
Join Date: Aug 2004
Location: toronto, ontario, Canada.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Star007
Default

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

***************


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run-time Error '3706' Provider cannot be found Star007 VB How-To 1 August 10th, 2006 05:02 AM
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
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.