Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Professional
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 24th, 2006, 11:19 PM
Friend of Wrox
 
Join Date: Oct 2004
Location: Clinton, UT, USA.
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default 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
__________________
Mike
EchoVue.com
Reply With Quote
  #2 (permalink)  
Old April 24th, 2006, 11:29 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

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
Reply With Quote
  #3 (permalink)  
Old April 24th, 2006, 11:47 PM
Friend of Wrox
 
Join Date: Oct 2004
Location: Clinton, UT, USA.
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert Image(jpeg/bmp,etc) file into binary forma venkat2reddy C# 2 September 14th, 2010 07:58 AM
display byte array of jpeg in jsp mahendra.w JSP Basics 1 September 4th, 2007 06:53 AM
extract xmp metadata from jpeg image header prs_kishore C++ Programming 0 October 18th, 2004 08:08 AM
How can I trap for a connection error cdukes77@bellsouth.net Classic ASP Databases 1 April 27th, 2004 03:09 AM
Error displayed with error trap code stoneman Access 4 February 28th, 2004 02:53 PM



All times are GMT -4. The time now is 05:21 PM.


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