Hello, did you ever find a solution to this? We are having the same issues on Windows Server 2003 IIS6 since updating our ASP app in Visual Studio. It will work for a while but then start happening again for no reason. I have to force a recompile (by touching web.config or something similar) then deleting the temporary files for the specific app site in "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" folder then it all works again... for a while. This is very frustrating.
here is the error: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 6/1/2013 6:50:21 PM Event time (UTC): 6/2/2013 1:50:21 AM Event ID: b7525287cfd8444ea87c8da91b07a10d Event sequence: 16 Event occurrence: 1 Event detail code: 0 Process information: Process ID: 5500 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: System.IO.FileLoadException Exception message: Could not load file or assembly 'itextsharp, Version=5.0.2.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. Access is denied. Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 1 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at pdflib.PdfMerge.MergeFiles(String destinationFile, String[] sourceFiles) at pdflib.PdfMerge.MergeFiles(String destinationFile, String[] sourceFiles, String user, String domain, String password) in c:\accounts\priority\dev\PPPAgentPortal\AgentPortal\pdflib\MergeFiles.cs:line 15 at AgentPortalNameSpace.postserveMyOrdersSA.buttonPrintDocuments_Click(Object sender, EventArgs e) in C:\accounts\priority\dev\PPPAgentPortal\AgentPortal\AgentPortal\postservePrintUpdateOrdersSA.aspx.vb:line 687 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -- View this message in context: http://itext-general.2136553.n4.nabble.com/Access-denied-for-assembly-itextsharp-tp2171154p4658447.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php