S
Scott
I have a simple asp.net app which works fine in debug mode, but crashes on
the following line when I run it on the production server:
Dim dt As DataTable
I have tried the following variations which produce the same result:
Dim dt As System.Data.DataTable
Dim dt As DataTable = New DataTable
The error message reads: System.NullReferenceException: Object reference
not set to an instance of an object.
This is the only place in code that dt is declared. Funny that this will
work in debug and error out in production. Does anyone have any ideas? I
am out.
Scott
the following line when I run it on the production server:
Dim dt As DataTable
I have tried the following variations which produce the same result:
Dim dt As System.Data.DataTable
Dim dt As DataTable = New DataTable
The error message reads: System.NullReferenceException: Object reference
not set to an instance of an object.
This is the only place in code that dt is declared. Funny that this will
work in debug and error out in production. Does anyone have any ideas? I
am out.
Scott