My server is pretty basic Windows 2003 Server (standard Edition) running .Net
3.5

I even put the image locally on the server to see if it woudl find it but no
joy.

Im really stuck on how to resolve it, any help would be much appreciated



Paulo Soares-3 wrote:
> 
> Looks like a security thing.
> 
> Paulo
> 
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On
>> Behalf Of indy.gill
>> Sent: Thursday, August 14, 2008 11:08 AM
>> To: [email protected]
>> Subject: Re: [iText-questions] Image.GetInstance() error on
>> Production Server but not dev machine
>>
>>
>> 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
> 
> 
> Aviso Legal:
> 
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
> informação confidencial ou legalmente protegida. A incorrecta transmissão
> desta mensagem não significa a perca de confidencialidade. Se esta
> mensagem for recebida por engano, por favor envie-a de volta para o
> remetente e apague-a do seu sistema de imediato. É proibido a qualquer
> pessoa que não o destinatário de usar, revelar ou distribuir qualquer
> parte desta mensagem. 
> 
> 
> 
> Disclaimer:
> 
> This message is destined exclusively to the intended receiver. It may
> contain confidential or legally protected information. The incorrect
> transmission of this message does not mean the loss of its
> confidentiality. If this message is received by mistake, please send it
> back to the sender and delete it from your system immediately. It is
> forbidden to any person who is not the intended receiver to use,
> distribute or copy any part of this message.
> 
> 
> 
> 
> -------------------------------------------------------------------------
> 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-tp18971390p18979832.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