Thread was being aborted error
I have a web service installed on 2 servers (load balanced). Sometimes, in both servers (but not exactly at the same time) I get the error show below.
I´m using asp.net 2.0 and IIS 6.
The ASPnet account belongs to the administrators local group.
It seems this error happens when the processor reach for some seconds 100%, however, I think this should be a "normal" pick, so I believe this is not concerned with the processor.
Any ideias on this?
Thread was being aborted.
StackTrace at Microsoft.Win32.Win32Native.GetFileType(SafeFileHa ndle handle)
at Microsoft.Win32.Win32Native.SafeCreateFile(String lpFileName, Int32 dwDesiredAccess, FileShare dwShareMode, SECURITY_ATTRIBUTES securityAttrs, FileMode dwCreationDisposition, Int32 dwFlagsAndAttributes, IntPtr hTemplateFile)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)