Hi

I tried to read the image in by system.io.stream but i get an "Object not
set to an instance" error

Could it be a security thing, also does teh image have to be on teh same
server?  As im calling an image from another server eg.
http://www.mydomain.com/logo.gif

But it all works ok on my development machine.  

Many thanks in advance



Paulo Soares wrote:
> 
> Can you read the image to a byte[]?
> 
> Paulo
> 
> ----- Original Message ----- 
> From: "indy.gill" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, August 13, 2008 10:14 PM
> Subject: [iText-questions] Image.GetInstance() error on Production Server 
> but not dev machine
> 
> 
> 
> Hi
> 
> I am building a Asp.Net 3.5 application which uses iText to creates some
> PDF's.  The PDF has an image in it and I am using the
> Image.GetInstance("FullImageUrlPath") to get the image.  This works fine
> on
> my Win XP development machine, however if put it on my Win 2003 production
> server it does not work.  I get the below error:
> 
> Attempted to read or write protected memory. This is often an indication
> that other memory is corrupt.
> 
> Any ideas on what this means or how i get round it?
> 
> Many thanks in advance
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Image.GetInstance%28%29-error-on-Production-Server-but-not-dev-machine-tp18971390p18978949.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to