SQL Server 7.0 , ADO & VB 6.0 
Author Message
 SQL Server 7.0 , ADO & VB 6.0

I'm trying the simplest possible connection ADO - OLE DB

I place the ADODC Data control on the form then, right click Properties,

Use Connection String, Build, MS OLE DB Provider for SQL Server,

Then I have the Data Link Properties window and I try "Use data source
name"
with the hope that I'll see SQLSERVER101 (my default ) and nothing
happens.
I tried many options from "Test Connection" to enter user name &
password.

My PC hangs and I have to cancel VB 6.0.
I'm connected to the SQL Server 7.0 NT via a network and I'm running
TCP/IP.
I have the SQL Server Client running on my PC all fine.

What is wrong? Is there something else I need to configure?. I just want
to access the Northwind sample database.

Any help will be appreciated.



Sat, 16 Mar 2002 03:00:00 GMT  
 SQL Server 7.0 , ADO & VB 6.0
Which SP of VB? You running win95, 98, or NT? If NT which SP?

A.


Quote:
> I'm trying the simplest possible connection ADO - OLE DB

> I place the ADODC Data control on the form then, right click Properties,

> Use Connection String, Build, MS OLE DB Provider for SQL Server,

> Then I have the Data Link Properties window and I try "Use data source
> name"
> with the hope that I'll see SQLSERVER101 (my default ) and nothing
> happens.
> I tried many options from "Test Connection" to enter user name &
> password.

> My PC hangs and I have to cancel VB 6.0.
> I'm connected to the SQL Server 7.0 NT via a network and I'm running
> TCP/IP.
> I have the SQL Server Client running on my PC all fine.

> What is wrong? Is there something else I need to configure?. I just want
> to access the Northwind sample database.

> Any help will be appreciated.



Sat, 16 Mar 2002 03:00:00 GMT  
 SQL Server 7.0 , ADO & VB 6.0
Have you tried to type the name of your server?

 I can't see my server in the dropdownlist but everything works if I
type the servername myself. If you are running SQL Server on the same
computer try to type "local" as servername. After you type the
servername you should see list of databases on that server.

Hope this is for some help.

Kari S.

On Tue, 28 Sep 1999 09:45:09 +0200, Mario Acosta-Alarcon

Quote:

>I'm trying the simplest possible connection ADO - OLE DB

>I place the ADODC Data control on the form then, right click Properties,

>Use Connection String, Build, MS OLE DB Provider for SQL Server,

>Then I have the Data Link Properties window and I try "Use data source
>name"
>with the hope that I'll see SQLSERVER101 (my default ) and nothing
>happens.
>I tried many options from "Test Connection" to enter user name &
>password.

>My PC hangs and I have to cancel VB 6.0.
>I'm connected to the SQL Server 7.0 NT via a network and I'm running
>TCP/IP.
>I have the SQL Server Client running on my PC all fine.

>What is wrong? Is there something else I need to configure?. I just want
>to access the Northwind sample database.

>Any help will be appreciated.



Sun, 17 Mar 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Boolean (SQL Server 7.0 & VB 6.0)

2. VB 6.0, SQL Server 7.0 and Images

3. Store and retrieve image on SQL server 7.0 using VB 6.0

4. SQL Server 7.0 with VB 6.0 Enterprise

5. Ado Save & Open with SQL server 7.0

6. VB 6.0 / ADO 2.0 / SQL 7.0 Beta 3 (UniqueIdentifier)

7. ADO AddNew command with VB 6.0 and SQL 7.0

8. MS SQL Server 7.0 & VB distribution

9. ADO 2.5 / Win2K / VB IDE / SQL Server 7.0

10. VB 6.0 & SQl server 6.5

11. VB 3.0 & MS SQL Server 6.0

12. VB 6.0 & SQL Server 6.5

 

 
Powered by phpBB® Forum Software