Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21881

I Want Help On Connection Error With Sql Server

$
0
0
I Have Program With VB6 And SQL Server And Work Ok . But the Problem is when i Stop the server when the client is connected to it and run server again this message appear to me " DBNETLIB ConnectionWrite (WrapperWrite()) General network error .check your network documentation . " ... And This problem appear if i work on the server and stop SQl Service and Start it Again .. My connection With dataenvironement and on dataenvironment intialization i put the connection string . i want to solve this problem

My connection String is :
ServarName = "MyServerName"

DataEnvironment1.Connection1.ConnectionString = "Provider=SQLOLEDB.1;OLE DB Services = -2 ;Password=0000;Persist Security Info=True; User ID=sa;Initial Catalog=TestDB;Data Source = '" & ServarName & "' "

Viewing all articles
Browse latest Browse all 21881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>