how to handle these errror .............pls help me very urgent

Posted by Chanti444 under ASP.NET on 10/20/2011 | Points: 10 | Views : 3684 | Status : [Member] | Replies : 1
hi....im getting below error..... already executed progrms are not working

about these error .........ihv lot of work pending my project ......pls help me asap im waiting ur reply

Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'Ionic.Zip' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
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 'Ionic.Zip' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
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 'Ionic.Zip' could not be loaded.
=== Pre-bind state information ===
LOG: User = PRIMACCESSINC\seetharamm
LOG: DisplayName = Ionic.Zip
(Partial)
LOG: Appbase = file:///F:/arbortrek/chanti/projecttotalcode/projecttotalcode/
LOG: Initial PrivatePath = F:\arbortrek\chanti\projecttotalcode\projecttotalcode\bin
Calling assembly : (Unknown).
===LOG: This bind starts in default load context.
LOG: Using application configuration file: F:\arbortrek\chanti\projecttotalcode\projecttotalcode\web.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070057.
Stack Trace:
[FileLoadException: Could not load file or assembly 'Ionic.Zip' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
[ConfigurationErrorsException: Could not load file or assembly 'Ionic.Zip' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +163

satya


Responses

Posted by: Ndebata on: 10/20/2011 [Member] Starter | Points: 25

Up
0
Down
You are using Ionic.Zip dll try to add a reference to this dll.
http://dotnetzip.codeplex.com/releases/view/68268

Chanti444, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response