Server Error in '/' Application.

The process cannot access the file 'C:\Windows\Temp\EASYProcess_Workfolder\EASYProcess-P4260-DThursday-H11M54S37.log' because it is being used by another process.

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 process cannot access the file 'C:\Windows\Temp\EASYProcess_Workfolder\EASYProcess-P4260-DThursday-H11M54S37.log' because it is being used by another process.

Source Error:


Line 27: 	     {
Line 28: 		Response.Write("<Html><font color= \"red\">EASYProcess Error</font><br/> Code :1001 <br/> System error. Please contact your system/application administrator.</Html>");
Line 29: 		KRise.EASYProcess.TextLogger.ApplicationLogger.Error(err);
Line 30: 	     }
Line 31: 

Source File: c:\inetpub\King\Website\EP_Page.aspx    Line: 29

Stack Trace:


[IOException: The process cannot access the file 'C:\Windows\Temp\EASYProcess_Workfolder\EASYProcess-P4260-DThursday-H11M54S37.log' because it is being used by another process.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +935
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1242
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +146
   System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) +126
   System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) +105
   System.IO.StreamWriter..ctor(String path, Boolean append) +57
   System.IO.File.CreateText(String path) +49
   KRise.EASYProcess.TextLogger.ApplicationLogger.WriteLine(String message) in c:\Builds_Sources\Trunk\TextLogger\ApplicationLogger.cs:215
   KRise.EASYProcess.TextLogger.ApplicationLogger.Error(String message) in c:\Builds_Sources\Trunk\TextLogger\ApplicationLogger.cs:292
   KRise.EASYProcess.TextLogger.ApplicationLogger.Error(Exception e) in c:\Builds_Sources\Trunk\TextLogger\ApplicationLogger.cs:248
   ASP.ep_page_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\King\Website\EP_Page.aspx:29
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4654.0