Out of Memory Error

For users or potential users.
Post Reply
User avatar
drtech
Posts: 1668
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Out of Memory Error

Post by drtech »

Adding an image to an insurance claim produced this error after selecting an *.odt document from the images folder:
B/C it is not an "image?"

OD v20.1.33

Error Encountered - 08/10/2020 4:11:57 PM
Unhandled exception: Out of memory.
System.OutOfMemoryException
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at OpenDental.FormClaimAttachment.buttonAddImage_Click(Object sender, EventArgs e) in C:\SVN\beta\OpenDental\Forms\FormClaimAttachment.cs:line 190
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com
joes
Posts: 239
Joined: Tue Aug 13, 2019 12:41 pm

Re: Out of Memory Error

Post by joes »

You are correct. The file can't be attached because it is not an image. When using the DentalXChange image attachment tool, valid file types are BMP, GIF, JPEG, PNG, and TIFF.
Joe Sullivan
Open Dental Software
http://www.opendental.com
User avatar
jordansparks
Site Admin
Posts: 5776
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Out of Memory Error

Post by jordansparks »

It should have told you so instead of an error, of course.
Jordan Sparks, DMD
http://www.opendental.com
joes
Posts: 239
Joined: Tue Aug 13, 2019 12:41 pm

Re: Out of Memory Error

Post by joes »

I've created a job to enhance the error that is displayed so that it will describe what file types are valid for attachments.
Joe Sullivan
Open Dental Software
http://www.opendental.com
Post Reply