Winfrom application(4.5 framework ) convert 32 bit 64 bit facing FatalExecutionEngineError

prabhu k 1 Reputation point
2020-09-09T10:13:41.457+00:00

Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'C:\SnapDPL 64bit\Code\Source\StagingArea\DataProcessLogic.Studio.exe'.
Additional Information: The runtime has encountered a fatal error. The address of the error was at 0x9b68b4ae, on thread 0x6698. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

some times like that i am getting

System.NullReferenceException' in System.Windows.Forms.dll Additional information: Object reference not set to an instance of an object.

An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,861 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Daniel Zhang-MSFT 9,621 Reputation points
    2020-09-10T05:06:35.923+00:00

    Hi prabhu k,
    Based on your description, I can't reproduce the situation.
    Please provide more details or some code which caused the error.
    And about "convert 32 bit 64 bit", you can refer to this docuemnt.
    For the error you provided, you can refer to the following suggestions.
    >>System.NullReferenceException' in System.Windows.Forms.dll Additional information: Object reference not set to an instance of an object.
    The error means your code used an object reference variable that was set to null (i.e. it did not reference an actual object instance).
    To prevent the error, objects that could be null should be tested for null before being used.
    >>An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll
    The exception that is thrown when there is an internal error in the execution engine of the common language runtime.
    More details you can refer to this thread.
    Best Regards,
    Daniel Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments