Hello,
Check your SQL Server if its Running everytime you used it.
what you are using in establishing connection from your VB to your DB?
Regards
Ervin
I am using the ADODB Connection for the SQL Server.
the Connection String is used by me
conn.ConnectionTimeout = 15
conn.ConnectionString = "driver={SQL Server};server=" & Server2003 & ";UID=" & EmployeeLogin & " ;password=" & mahesh & ";database=" & emplogin & ""
conn.Open
If conn.State <> adStateOpen Then
MsgBox ("SQL Server is not started. Please contact administrator")
End If
connectDatabase = enumDBConnection.DBConnected
Here EmployeeLogin is the Seperate User created by the admin with all permissions for accessing the emplogin database.