It may be a full/medium trust problem. See
http://article.gmane.org/gmane.comp.windows.dotnet.itextsharp.general/2806/.
Paulo
> -----Original Message-----
> From: Ashish Rauthan, Noida [mailto:[email protected]]
> Sent: Wednesday, September 09, 2009 1:59 PM
> To: [email protected]
> Subject: [iText-questions] Exception while creating pdfs in asp.net
>
> Hi,
>
>
>
> We are able to use the dll in one server, however in another
> server its giving the following error.
>
> Primarily we are using in the same way & configuration.
> Putting the assembly in the bin.
>
>
>
> Would appreciate guidance in resolving the issue.
>
>
>
> Thanks & Regards,
>
> Ashish Rauthan
>
>
>
>
>
>
>
> Event Type: Error
>
> Event Source: ASP.NET 2.0.50727.0
>
> Event Category: None
>
> Event ID: 1334
>
> Date: 9/8/2009
>
> Time: 6:08:34 PM
>
> User: N/A
>
> Computer: BPR-APP09
>
> Description:
>
> An unhandled exception occurred and the process was terminated.
>
>
>
> Application ID: /LM/W3SVC/1/Root/SmartRecruit
>
>
>
> Process ID: 4368
>
>
>
> Exception: System.IO.FileNotFoundException
>
>
>
> Message: Could not load file or assembly 'itextsharp,
> Version=4.0.7.0, Culture=neutral,
> PublicKeyToken=8354ae6d2174ddca' or one of its dependencies.
> The system cannot find the file specified.
>
>
>
> StackTrace: at OfferPdfFormat.Dispose(Boolean disposing)
>
> at OfferPdfFormat.Finalize()
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.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/