I've deployed a ASP.NET web application to my web hotel. In the application I
use iTextSharp (the itextSharp.dll is located in the Bin directory). The ISP
use Medium Trust and therefore I've recompiled iTextSharp.dll to allow
partial trust.

Most of the time the application works perfect. But occasionally I get the
error message:

Could not load file or assembly 'itextsharp' or one of its dependencies.
Access is denied.
 
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.IO.FileLoadException: Could not load file or
assembly 'itextsharp' or one of its dependencies. Access is denied.

Then I need to login to my ISP and restart the application or sometimes even
reupload the iTextSharp.dll file to the ISP and it works fine again. What
can the problem be? If it is really an access problem then I think that I
should get access denied whole the time(?).
-- 
View this message in context: 
http://old.nabble.com/Access-denied-for-assembly-%27itextsharp%27-tp27944109p27944109.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/

Reply via email to