D
Dan
Hi everyone,
I have written a VB .Net application for Pocket PC. I am able to
connect to a test SQL Server with no issue, everything works great. I
have another server that I am trying to connect to, but I believe I am
running into an authentication issue.
I have declared the following in a module:
Public dbConn As New System.Data.SqlClient.SqlConnection
and the following is where I am getting an error:
Private Sub frmShipment_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Try
dbConn.ConnectionString =
"Server=10.0.0.39,1433;Database=Axxis;user id=sa;pwd=cars"
dbConn.Open()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub
The error "SQLException" is occuring at the dbConn.Open() statement.
The SQL Server is setup for mixed mode authentication. I've tried
different variations of the Server address... nothing works.
Any suggestions?
Thanks,
Dan
I have written a VB .Net application for Pocket PC. I am able to
connect to a test SQL Server with no issue, everything works great. I
have another server that I am trying to connect to, but I believe I am
running into an authentication issue.
I have declared the following in a module:
Public dbConn As New System.Data.SqlClient.SqlConnection
and the following is where I am getting an error:
Private Sub frmShipment_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Try
dbConn.ConnectionString =
"Server=10.0.0.39,1433;Database=Axxis;user id=sa;pwd=cars"
dbConn.Open()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub
The error "SQLException" is occuring at the dbConn.Open() statement.
The SQL Server is setup for mixed mode authentication. I've tried
different variations of the Server address... nothing works.
Any suggestions?
Thanks,
Dan