rpathy1974
MIS
I'm getting the error "Object reference not set to an instance of an object" at the execution of the "gDtlConOleDbObj.Open()" in the folowing code of my webpage.aspx.vb
Public gDtlConOleDbObj As New OleDbConnection
Public gDtlTransOleDbObj As OleDbTransaction
Private Sub Page_Load()
Dim mMyConStr as String
mMyConStr = "Provider=MSDAORA;User ID..."
gDtlConOleDbObj = New OleDbConnection
gDtlConOleDbObj.ConnectionString = mMyConStr
gDtlConOleDbObj.Open()
gDtlTransOleDbObj = gDtlConOleDbObj.BeginTransaction
End Sub
This error occurs only when i open several browser instances of my webpage at the same time.
kindly let me know what could solve this issue.
Public gDtlConOleDbObj As New OleDbConnection
Public gDtlTransOleDbObj As OleDbTransaction
Private Sub Page_Load()
Dim mMyConStr as String
mMyConStr = "Provider=MSDAORA;User ID..."
gDtlConOleDbObj = New OleDbConnection
gDtlConOleDbObj.ConnectionString = mMyConStr
gDtlConOleDbObj.Open()
gDtlTransOleDbObj = gDtlConOleDbObj.BeginTransaction
End Sub
This error occurs only when i open several browser instances of my webpage at the same time.
kindly let me know what could solve this issue.