So here's the story: Over the weekend I did a restore on my computer and had to reinstall all of the programs on it. Now I am trying to run code that was previously working (and is still working on another computer in my office), which ends up with a fatalexecutionengineerror upon trying to open the mySQL connection (conn.open). If I comment this statement out the code runs fine, and everything else works perfectly. I've tried uninstalling and reinstalling .NET and MySQL/Net to no avail, and I also emptied out the bin/debug folder to ensure it was being completely rebuilt. Any ideas on what else I could do to fix this problem?
Full Text:
Additional information: The runtime has encountered a fatal error. The address of the error was at 0x72e5c6e1, on thread 0x1d7c. 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.
{Cannot evaluate expression because we are stopped in a place where garbage collection is impossible, possibly because the code of the current method may be optimized.}
Thanks to anyone who can help me out
Full Text:
Additional information: The runtime has encountered a fatal error. The address of the error was at 0x72e5c6e1, on thread 0x1d7c. 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.
{Cannot evaluate expression because we are stopped in a place where garbage collection is impossible, possibly because the code of the current method may be optimized.}
Thanks to anyone who can help me out