Insufficient memory to continue the execution of the program.
Hi,
I trying to develop a small program that is able to import images with opendialog and save the images to an SQL database.
Im am currently getting an error that states "Insufficient memory to continue the execution of the program.". This happens when I try to write the data to the database.
I have tried couple of things to resolve this problem. That is, because it was a memory problem I tried running this on two different computers. Ive gone through several tutorials for storing and retrieving images in SQL database. Everything has resulted in the same error.
I convert the image to byte[] and I want to save these byte[] to the database. The database field is a type Image (size 16). The image Im testing is only 9204 bytes.
Im not sure how I can explain this better, because i dont have a clue why I get this error.
Anyone out there that can help me?
kind regards,