syseng007
asked on
ASP.NET Error
One of our security folks is running a vulnerability scan on two of our application servers and he is receiving this error: Any ideas? Server 2003 and has Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634. Thanks!
Server Error in '/' Application.
__________________________ __________ ____
Could not load file or assembly 'itextsharp' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)
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.FileLoadExceptio n: Could not load file or assembly 'itextsharp' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)
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 'itextsharp' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\F usion!Enab leLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\F usion!Enab leLog].
Stack Trace:
[FileLoadException: Could not load file or assembly 'itextsharp' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)]
[FileLoadException: Could not load file or assembly 'itextsharp, Version=5.2.1.0, Culture=neutral, PublicKeyToken=8354ae6d217 4ddca' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)]
System.Reflection.Assembly ._nLoad(As semblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly .nLoad(Ass emblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly .InternalL oad(Assemb lyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly .InternalL oad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly .Load(Stri ng assemblyString) +28
System.Web.Configuration.C ompilation Section.Lo adAssembly Helper(Str ing assemblyName, Boolean starDirective) +46
[ConfigurationErrorsExcept ion: Could not load file or assembly 'itextsharp, Version=5.2.1.0, Culture=neutral, PublicKeyToken=8354ae6d217 4ddca' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)]
System.Web.Configuration.C ompilation Section.Lo adAssembly Helper(Str ing assemblyName, Boolean starDirective) +613
System.Web.Configuration.C ompilation Section.Lo adAllAssem bliesFromA ppDomainBi nDirectory () +203
System.Web.Configuration.C ompilation Section.Lo adAssembly (AssemblyI nfo ai) +105
System.Web.Compilation.Bui ldManager. GetReferen cedAssembl ies(Compil ationSecti on compConfig) +178
System.Web.Compilation.Bui ldProvider sCompiler. .ctor(Virt ualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54
System.Web.Compilation.App licationBu ildProvide r.GetGloba lAsaxBuild Result(Boo lean isPrecompiledApp) +227
System.Web.Compilation.Bui ldManager. CompileGlo balAsax() +52
System.Web.Compilation.Bui ldManager. EnsureTopL evelFilesC ompiled() +337
[HttpException (0x80004005): Could not load file or assembly 'itextsharp, Version=5.2.1.0, Culture=neutral, PublicKeyToken=8354ae6d217 4ddca' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)]
System.Web.Compilation.Bui ldManager. ReportTopL evelCompil ationExcep tion() +58
System.Web.Compilation.Bui ldManager. EnsureTopL evelFilesC ompiled() +512
System.Web.Hosting.Hosting Environmen t.Initiali ze(Applica tionManage r appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParamete rs hostingParameters) +729
[HttpException (0x80004005): Could not load file or assembly 'itextsharp, Version=5.2.1.0, Culture=neutral, PublicKeyToken=8354ae6d217 4ddca' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)]
System.Web.HttpRuntime.Fir stRequestI nit(HttpCo ntext context) +8907951
System.Web.HttpRuntime.Ens ureFirstRe questInit( HttpContex t context) +85
System.Web.HttpRuntime.Pro cessReques tInternal( HttpWorker Request wr) +259
Server Error in '/' Application.
__________________________
Could not load file or assembly 'itextsharp' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)
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.FileLoadExceptio
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 'itextsharp' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\F
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\F
Stack Trace:
[FileLoadException: Could not load file or assembly 'itextsharp' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)]
[FileLoadException: Could not load file or assembly 'itextsharp, Version=5.2.1.0, Culture=neutral, PublicKeyToken=8354ae6d217
System.Reflection.Assembly
System.Reflection.Assembly
System.Reflection.Assembly
System.Reflection.Assembly
System.Reflection.Assembly
System.Web.Configuration.C
[ConfigurationErrorsExcept
System.Web.Configuration.C
System.Web.Configuration.C
System.Web.Configuration.C
System.Web.Compilation.Bui
System.Web.Compilation.Bui
System.Web.Compilation.App
System.Web.Compilation.Bui
System.Web.Compilation.Bui
[HttpException (0x80004005): Could not load file or assembly 'itextsharp, Version=5.2.1.0, Culture=neutral, PublicKeyToken=8354ae6d217
System.Web.Compilation.Bui
System.Web.Compilation.Bui
System.Web.Hosting.Hosting
[HttpException (0x80004005): Could not load file or assembly 'itextsharp, Version=5.2.1.0, Culture=neutral, PublicKeyToken=8354ae6d217
System.Web.HttpRuntime.Fir
System.Web.HttpRuntime.Ens
System.Web.HttpRuntime.Pro
ASKER
I already checked that.. serevrs have 4.40GB space on each. It shouldn't be a problem...
Maybe you are using in project wrong itextsharp dll version (32 bits instead of 64 bits or viceversa):
http://weblogs.asp.net/hosamkamel/archive/2009/10/11/resolved-could-not-load-file-or-assembly-xxxxx-or-one-of-its-dependencies-an-attempt-was-made-to-load-a-program-with-an-incorrect-format.aspx
http://weblogs.asp.net/hosamkamel/archive/2009/10/11/resolved-could-not-load-file-or-assembly-xxxxx-or-one-of-its-dependencies-an-attempt-was-made-to-load-a-program-with-an-incorrect-format.aspx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Clean up your C: drive ; )