Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0 ASP.NET
I am using C# 3.0 build a Web Application in same time i am Facing same Exception even we have Run The Project or Application.
 
the Exception occur in this web Application is in Load time or Execution time..Exception is.
The file or directory is corrupted and unreadable.
 
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.IOException: The file or directory is corrupted and unreadable.
 

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.
 
Stack Trace:
 

[IOException: The file or directory is corrupted and unreadable.
]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7717448
System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) +7542218
System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption) +37
System.IO.Directory.GetDirectories(String path) +14
System.Web.Compilation.StandardDiskBuildResultCache.FindSatelliteDirectories() +27
System.Web.Compilation.BuildManager.RegularAppRuntimeModeInitialize() +115
System.Web.Compilation.BuildManager.Initialize() +238
System.Web.Compilation.BuildManager.InitializeBuildManager() +267
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +224
 
[HttpException (0x80004005): The file or directory is corrupted and unreadable.
]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8897659
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259
 

this is exception when i Run this web Application..so Viewers Please give me Right solution of this Exception.thank you...
Posted 27-Dec-12 2:13am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
Have a look here:
http://ola.kodar.se/2010/04/25/asp-net-system-io-ioexception-the-file-or-directory-is-corrupted-and-unreadable/[^]
You'll read this folder name: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root, but on my computer, the v2.0.50727 is v4.0.30319, so you need to find out yourself which folder to empty.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 27 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100