I have a .Net application that has been running fine until this past week. I am using the Blowery HttpCompress module (recompiled using ICSharpCode.SharpZipLib 0.6), and this is the error message I get:
ICSharpCode.SharpZipLib.DLL is in my bin folder. If I refresh the date/time of the ICSharpCode.SharpZipLib.DLL file by pulling the file down with FTP and then putting it right back, the application works fine... for a while (seems to always be down in the morning until I do this). Anyone know what the error above is trying to tell me? Similar errors I've seen in the past at least tell me "Hey, dummy, wrong version of the assembly", but I'm not getting a lot of information from this one.
Code:
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: Access is denied: 'ICSharpCode.SharpZipLib'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'ICSharpCode.SharpZipLib' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = ICSharpCode.SharpZipLib, Version=0.6.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73
(Fully-specified)
LOG: Appbase = file:///D:/hshome/(myUserNameHere)/sage.craigg.net
LOG: Initial PrivatePath = bin
Calling assembly : blowery.Web.HttpCompress, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/02497ca3/721301cc/ICSharpCode.SharpZipLib.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/02497ca3/721301cc/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.DLL.
LOG: Attempting download of new URL file:///D:/hshome/(myUserNameHere)/sage.craigg.net/bin/ICSharpCode.SharpZipLib.DLL.
Stack Trace:
[FileLoadException: Access is denied: 'ICSharpCode.SharpZipLib'.]
blowery.Web.HttpCompress.GZipFilter..ctor(Stream baseStream) +0
blowery.Web.HttpCompress.HttpModule.GetFilterForScheme(String[] schemes, Stream output, Settings prefs) +736
blowery.Web.HttpCompress.HttpModule.CompressContent(Object sender, EventArgs e) +471
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
ICSharpCode.SharpZipLib.DLL is in my bin folder. If I refresh the date/time of the ICSharpCode.SharpZipLib.DLL file by pulling the file down with FTP and then putting it right back, the application works fine... for a while (seems to always be down in the morning until I do this). Anyone know what the error above is trying to tell me? Similar errors I've seen in the past at least tell me "Hey, dummy, wrong version of the assembly", but I'm not getting a lot of information from this one.