473,322 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Connecting to SQL with VB.NET

TOM
Hello, I am having problems with the server explorer
making a connection to the SQL server. I can see the
instances that i want to connect to but when i try this
error comes up PROVIDER CANNOT BE FOUND. IT MAY NOT BE
PROPERLY INSTALLLED.
I am programming on XP w\SP2 installed, I have MDAC 2.8
installed, i have SQL Client tools install.
When i installed VB on the server it worked fine. So I
think i am missing a piece, that will let VB talk to the
Server.

I could use any help or suggestions?

Tom

Nov 21 '05 #1
2 1333
Try this:
CAUSE
This error occurs because a dynamic-link library (DLL) that is required by
the Microsoft Data Access Components is not registered.
RESOLUTION
NOTE: This resolution uses a SQL Server OLE Provider DLL (Sqloledb.dll) as
an example. Because the unregistered DLL may vary based on the OLE DB
Provider that you are using, modify step 2 accordingly.

To resolve this problem, reregister the faulty DLL as follows: 1. At a
command prompt, change to the C:\Program Files\Common Files\System\Ole DB
folder.
2. At a command prompt, type the following command:
regsvr32 sqloledb.dll
3. You should receive confirmation that the DLL is registered successfully.

For more information you can take a look in this link :
http://support.microsoft.com/default...b;en-us;278604

Thanks,

Elena Arzac
--------------------
Content-Class: urn:content-classes:message
From: "TOM" <tb***@yahoo.com>
Sender: "TOM" <tb***@yahoo.com>
Subject: Connecting to SQL with VB.NET
Date: Wed, 12 Jan 2005 11:56:36 -0800
Lines: 15
Message-ID: <01****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcT44NKslff+1gX1QyGWK8yp27EP3g==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.languages.vb
Path: cpmsftngxa10.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.languages.vb:253415
NNTP-Posting-Host: tk2msftngxa11.phx.gbl 10.40.1.163
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hello, I am having problems with the server explorer
making a connection to the SQL server. I can see the
instances that i want to connect to but when i try this
error comes up PROVIDER CANNOT BE FOUND. IT MAY NOT BE
PROPERLY INSTALLLED.
I am programming on XP w\SP2 installed, I have MDAC 2.8
installed, i have SQL Client tools install.
When i installed VB on the server it worked fine. So I
think i am missing a piece, that will let VB talk to the
Server.

I could use any help or suggestions?

Tom


Nov 21 '05 #2
TOM
Thanks it worked.

-----Original Message-----
Try this:
CAUSE
This error occurs because a dynamic-link library (DLL) that is required bythe Microsoft Data Access Components is not registered.
RESOLUTION
NOTE: This resolution uses a SQL Server OLE Provider DLL (Sqloledb.dll) asan example. Because the unregistered DLL may vary based on the OLE DBProvider that you are using, modify step 2 accordingly.

To resolve this problem, reregister the faulty DLL as follows: 1. At acommand prompt, change to the C:\Program Files\Common Files\System\Ole DBfolder.
2. At a command prompt, type the following command:
regsvr32 sqloledb.dll
3. You should receive confirmation that the DLL is registered successfully.
For more information you can take a look in this link :
http://support.microsoft.com/default.aspx?scid=kb;en- us;278604
Thanks,

Elena Arzac
--------------------
Content-Class: urn:content-classes:message
From: "TOM" <tb***@yahoo.com>
Sender: "TOM" <tb***@yahoo.com>
Subject: Connecting to SQL with VB.NET
Date: Wed, 12 Jan 2005 11:56:36 -0800
Lines: 15
Message-ID: <01****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcT44NKslff+1gX1QyGWK8yp27EP3g==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300Newsgroups: microsoft.public.dotnet.languages.vb
Path: cpmsftngxa10.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.languages.vb:253415NNTP-Posting-Host: tk2msftngxa11.phx.gbl 10.40.1.163
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hello, I am having problems with the server explorer
making a connection to the SQL server. I can see the
instances that i want to connect to but when i try thiserror comes up PROVIDER CANNOT BE FOUND. IT MAY NOT BE
PROPERLY INSTALLLED.
I am programming on XP w\SP2 installed, I have MDAC 2.8installed, i have SQL Client tools install.
When i installed VB on the server it worked fine. So I
think i am missing a piece, that will let VB talk to theServer.

I could use any help or suggestions?

Tom


.

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Google Mike | last post by:
After a lot of thought and research, and playing with FreeTDS and InlineTDS, as well as various ODBC connections, I have determined that the fastest and cheapest way to get up and going with PHP on...
2
by: Ramir Santos | last post by:
my analysis server is hosted on a win2k server with IIS, the hosting page is on another machine. I have followed everything as per MS KB article and I could not connect through the analysis server...
4
by: TP | last post by:
Hi, This is probably my 7th post of the day. not spamming, just want to get the questions out, so that I can find the answers and post them back or some good soul can help me out. Right now I...
12
by: Ann Marinas | last post by:
Hi all, I would like to ask for some help regarding separating the asp.net webserver and the sql server. I have created an asp.net application for a certain company. Initially, we installed...
3
by: Jeremy Dillinger | last post by:
I am trying to design a program that will use data from a MySQL database. Currently all the data is being used with PHP scripts from a website. I am also trying to build a software solution that...
0
by: NewsReader | last post by:
Hello, I have been looking around the net for a script to help me connect to and help gather information from Cisco routers/switches. I have pieced together a couple of different scripts from...
0
by: cj.snead | last post by:
Hello, I am having trouble connecting to a remote named instance of SQL Server via Pocket PC. I have had absolutely no luck connecting with VS 2005 (even to a default instance), so I wen't back...
0
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, I've my win32 application which connecting to my sql database. till now i used MSDE as my database and now i want to upgrade to sql express 2005. after the upgrade i tried to connect to the...
10
by: mairhtin o'feannag | last post by:
Hello, I'm having problems connecting to my new v9 db box. The pertinent information is below: DB2_db2inst1 60000/tcp DB2_db2inst1_1 60001/tcp DB2_db2inst1_2 60002/tcp DB2_db2inst1_END...
0
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.