O
Ola Myrgart
Hi!
This is the errorcode I get when I try to insert some new data inot my
SQL DB.
Exception Details: System.NullReferenceException: Object reference not
set to an instance of an object.
Line 125: Dim connectionString As String =
"server='localhost'; user id='sa'; password='xxxxx'; Database='xxxxx'"
Line 126: Dim ImageStream As Stream =
FotoFile.PostedFile.InputStream
Line 127: Dim byteData(FotoFile.PostedFile.ContentLength) As
Byte
The problem is on Line 126.
What´s the problem? Can´t find it out myself.
Is there anyone who has any ideas ?
OM "Myggan"
This is the errorcode I get when I try to insert some new data inot my
SQL DB.
Exception Details: System.NullReferenceException: Object reference not
set to an instance of an object.
Line 125: Dim connectionString As String =
"server='localhost'; user id='sa'; password='xxxxx'; Database='xxxxx'"
Line 126: Dim ImageStream As Stream =
FotoFile.PostedFile.InputStream
Line 127: Dim byteData(FotoFile.PostedFile.ContentLength) As
Byte
The problem is on Line 126.
What´s the problem? Can´t find it out myself.
Is there anyone who has any ideas ?
OM "Myggan"