|
-
Jul 21st, 2005, 08:37 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] SQL Database Connection String
Hi,
I have the following connection string, I dont think I really need the workstation ID in there? What does it do? When I just take it out the connection string wont work anymore, how should it look without it?
VB Code:
Public ConnectionString = "workstation id=BANTAM;packet size=4096;integrated security=SSPI;data source=DEVSQ" & _
"LServer;persist security info=False;initial catalog=Database1"
-
Jul 21st, 2005, 08:48 AM
#2
Fanatic Member
Re: SQL Database Connection String
My connection strings resemble the following
VB Code:
Public ConnectionString = "[b]Provider=SQLOLEDB.1[/b];integrated security=SSPI;[b]Server[/b]=DEVSQLServer;" & _
"persist security info=False;initial catalog=Database1"
I highlighted the things I'd change.
Chris
Master Of My Domain
Got A Question? Look Here First
-
Jul 21st, 2005, 08:55 AM
#3
Thread Starter
Frenzied Member
Re: SQL Database Connection String
I think yours is for an OLEDB connection though Im wanting to use the vb.net SqlConnection Class
-
Jul 21st, 2005, 09:04 AM
#4
Thread Starter
Frenzied Member
Re: SQL Database Connection String
OK I found it in an old thread.
VB Code:
Public ConnectionString = "Data Source=DEVSQLServer;Initial Catalog=Database1;Integrated Security=SSPI"
It directed me to this great site-
http://www.connectionstrings.com/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|