p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Professional (http://p2p.wrox.com/forumdisplay.php?f=63)
-   -   Trap error on Jpeg Image - unsafe array (http://p2p.wrox.com/showthread.php?t=41694)

echovue April 24th, 2006 11:19 PM

Trap error on Jpeg Image - unsafe array
 
Hi everyone,

I am loading a folder with a bunch of images I am extracting from a DB. 120 images into the process I get the following error...

Persits.Jpeg.1 error '800a0007'

A safe array of bytes is expected as a parameter.

I am guessing there is a problem with the data for this particular image. Does anyone know how I could test if the data is safe before I try and load the picture. Or if I could use something like 'On Error Resume Next' from VB, that would be just as good.

Thanks

Mike

Mike
EchoVue.com

mat41 April 24th, 2006 11:29 PM

What is your exact un friendly http error - that error looks friendly to me. to turn these off - tools/internet options/advanced - now un-tick 'show friendly http errors'

close the browser then hit you troubled page, post this new un-friendly error.

I would say you are out of memory as a guess

Wind is your friend
Matt

echovue April 24th, 2006 11:47 PM

Hi Matt,

Thanks - It appears that is unfriendly as it gets. I'll give it a whirl with a smaller query. I think you may be right about the memory thing, if not I'll be back,

Mike

Mike
EchoVue.com


All times are GMT -4. The time now is 04:05 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.