System.ExecutionEngineException

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zfeld

    #1

    System.ExecutionEngineException

    I have an application written in C# using the dotnet.framewor k that is
    deployed at a client. I left the debugger at the client as to report
    any early version crashes. We are getting an ExecutionEngine Exception
    that obviously has been terminating the application. This is really
    starting to annoy our client.

    "An unhandled exception of type 'System.Executi onEngineExcepti on'
    occurred in mscorlib.dll"

    The MSDN documentation is of no help "Execution engine errors are
    fatal errors that should never occur"

    It seems to always crash at this line of code. I don't see anything
    wrong with it.

    This function gets invoked by a SystemFileWatch er event handler

    private void ChangeToFileSys tem(FileSystemE ventArgs e) {
    Debug.Assert(!T heTree.InvokeRe quired); // insure this is the UI
    thread
    TreeNode Node = null;
    string DirPath = null;

    if(e.ChangeType == WatcherChangeTy pes.Created) {
    bool IsReport = 0 == String.Compare( Path.GetExtensi on(e.FullPath),
    ".rpt", true);
    //if it is not a directory or a file of type report, return
    [color=blue][color=green][color=darkred]
    >>>>>>> if(!Directory.E xists(e.FullPat h) && !IsReport)[/color][/color][/color]
    return;



    Can someone help? I need this application to be stable.
Working...