E
Earl
Scenario: I have 2 apps, one VB6, one VS2003 (VB.Net). From the same
workstation, on the same LAN, the VB6 app can connect to the SQL Server
(running on an XP Pro box), but the VB.Net app cannot. Connection strings
are functionally identical as shown below. I've read the connection issues
on Bill Vaughn's website, and while it's possible I'm overlooking something,
I'm not convinced that the connectivity should be any different for a VB6
app than it would be for a VB.Net app. Any thoughts beyond the usual?
VB6
strCN = "Provider=sqloledb;" & _
"Data Source=" & strDBServer & ";" & _
"Initial Catalog=" & strDBName & ";" & _
"Integrated Security=SSPI"
VB.Net
strCN As String = "data source=" & strDBServer & ";" & _
"initial catalog=" & strDBName & ";integrated security=SSPI;"
workstation, on the same LAN, the VB6 app can connect to the SQL Server
(running on an XP Pro box), but the VB.Net app cannot. Connection strings
are functionally identical as shown below. I've read the connection issues
on Bill Vaughn's website, and while it's possible I'm overlooking something,
I'm not convinced that the connectivity should be any different for a VB6
app than it would be for a VB.Net app. Any thoughts beyond the usual?
VB6
strCN = "Provider=sqloledb;" & _
"Data Source=" & strDBServer & ";" & _
"Initial Catalog=" & strDBName & ";" & _
"Integrated Security=SSPI"
VB.Net
strCN As String = "data source=" & strDBServer & ";" & _
"initial catalog=" & strDBName & ";integrated security=SSPI;"