« Return to Thread: Calling Assembly from ASP

Re: Calling Assembly from ASP

by Shawn Davies :: Rate this Message:

Reply to Author | View in Thread

I have a question regarding images and iTextSharp...

Is there a way to get it to resolve URLs that begin with "<img src=file:" versus "<img src=http:"?? iTextSharp will resolve image paths if the path is a URL, but all I get is the filename if the source is "file:".

Thanks!
Shawn

Shawn.Davies@... | Office: 918-488-4052 |  Fax: 918-488-4245


-----Original Message-----
From: Paulo Soares [mailto:psoares@...]
Sent: Monday, June 08, 2009 9:17 AM
To: Post all your questions about iTextSharp here
Subject: Re: [itextsharp-questions] Calling Assembly from ASP

Don't forget to set the content length.

Paulo

> -----Original Message-----
> From: Shawn Davies [mailto:Shawn.Davies@...]
> Sent: Monday, June 08, 2009 3:13 PM
> To: Post all your questions about iTextSharp here
> Subject: Re: [itextsharp-questions] Calling Assembly from ASP
>
> I was finally able to get my class to run and generate a pdf from ASP
> code. Whew!
>
>  
>
> After running regasm, I didn't think I needed them in the GAC
> - so I removed my previous entries. Once I added them back in, it
> started working as designed.
>
>  
>
> I have my development machine updated with the Reader 9, the PDF opens
> fine from ASP code - although I noticed it opens in the browser
> window. When I use the same class to create a PDF from managed code,
> it opens an separate Adobe Reader window containing the output. This
> may be a browser setting.
>
>  
>
> I just tried Adobe 7 and "The file is damaged and could not be
> repaired" from Reader. Any ideas about why? It works fine when calling
> from C# (versus ASP). ???
>
>  
>
> Thanks!
>
> Shawn
>
>  
>
> Shawn.Davies@... | Office: 918-488-4052 |  Fax:
> 918-488-4245
>
>  
>
> From: Fabrizio Accatino [mailto:fhtino@...]
> Sent: Monday, June 08, 2009 1:40 AM
> To: Post all your questions about iTextSharp here
> Subject: Re: [itextsharp-questions] Calling Assembly from ASP
>
>  
>
>  
>
> - give the full exception
>
>  
>
> - place itextsharp dll in the same folder of CustomPdf.CreatePdf dll.  
> And try again.
>
>  
>
>  
>
>    fabrizio
>
>  
>
>  
>
>  
>
> On Fri, Jun 5, 2009 at 10:20 PM, Shawn Davies
> <Shawn.Davies@...> wrote:
>
> Thanks for your response. I used the Framework config tool to change
> the permissions for the Local_Intranet zone to "Full Trust". Same
> results. I would think that if there was a security issue, it would
> have popped-up when the object was instantiated using
> "Server.CreateObject".


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.




------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
itextsharp-questions mailing list
itextsharp-questions@...
https://lists.sourceforge.net/lists/listinfo/itextsharp-questions

 « Return to Thread: Calling Assembly from ASP