J
JohnZing
When i try to open an OleDb connection (access) VS throws the following
error
The type initializer for
'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception.
Tried to find on google and no sucess... please help... thanks
Private Sub OpenConnection()
If _connection Is Nothing Then
_connection = New OleDb.OleDbConnection(_connStr)
_connection.Open()
Else
If _connection.State = ConnectionState.Open Then
Else
_connection.Open()<------- ERRROR HERE
End If
End If
End Sub
error
The type initializer for
'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception.
Tried to find on google and no sucess... please help... thanks
Private Sub OpenConnection()
If _connection Is Nothing Then
_connection = New OleDb.OleDbConnection(_connStr)
_connection.Open()
Else
If _connection.State = ConnectionState.Open Then
Else
_connection.Open()<------- ERRROR HERE
End If
End If
End Sub