Avatar of Murray Brown
Murray Brown
Flag for United Kingdom of Great Britain and Northern Ireland asked on

VB.net Add a dataset

Hi

I am trying to add a dataset that connects to my database which I interact with programmatically
using the following connection string (password changed)
Server=winsqlr01.cpt.wa.co.za;Database=Demo1;Uid=Demo1;Password=xxxxxxxxxxxxxxxxx
The connection works in code but I get the error below in trying to add a new datasert

1
Visual Basic.NET

Avatar of undefined
Last Comment
Murray Brown

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
it_saige

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Éric Moreau

is the server to which you try to connect has the TCP IP protocol enabled?
Éric Moreau

can you also try this connection string:

Data Source=winsqlr01.cpt.wa.co.za;Network Library=DBMSSOCN;
Initial Catalog=myDataBase;User ID=Demo1;Password=xxxxxxxxxxxxxxxxx;

Open in new window

it_saige

For example:Capture.JPG-saige-
Your help has saved me hundreds of hours of internet surfing.
fblack61
Murray Brown

ASKER
That worked.  Thanks