Questions tagged [executionengineexception]

34 questions
2
votes
0 answers

"An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module."

I'm writing an app in metro (XAML + C#) and I have fatal error which source I can't find: System.ExecutionEngineException was unhandled Message: An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module. It came…
1
vote
0 answers

.NET application crash with 0x80131506 error (ExecutionEngineException)

Our .NET app crashes randomly with ExecutionEngineException error. App targets .NET 4.8 x64. After some intensive reproduction attempts I've collected following facts. We used WinDBG Preview with Time Travel function to capture execution…
LAT
  • 11
  • 3
1
vote
1 answer

OCaml llvm "Unbound module ExecutionEngine"

I made a post here (ocaml llvm kaleidoscope tutorial "Unbound module LlvmExecutionEngine") but that issue does not seem present on my mac which I have switched to. I'm trying to get this to…
Bren
  • 3,516
  • 11
  • 41
  • 73
1
vote
0 answers

ExecutionEngineException when calling method on decoupled WMI provider

I've run into a problem where calling a method on a decoupled WMI provider (developed using the WMI Provider Extensions in .NET 3.5) throws an ExecutionEngineException when running more than one instance of my application. Has anyone run into this…
bfallin
  • 166
  • 8
1
vote
1 answer

What might cause this ExecutionEngineException?

I am trying to use Reflection.Emit to generate a wrapper class in a dynamic assembly. Automatic wrapper generation is part of a new open-source library I'm writing called "GoInterfaces". The wrapper class implements IEnumerable and wraps…
Qwertie
  • 16,354
  • 20
  • 105
  • 148
1
vote
1 answer

ExecutionEngineException thrown when loading native dll

I have a 32-bit .net application that uses a native 32-bit DLL via DllImport(). The native DLL is our internal file analysis library, and I need to use it as porting it to C# would be a problem if people update it (other software uses it). The…
Axarydax
  • 16,353
  • 21
  • 92
  • 151
1
vote
0 answers

System.ExecutionEngineException at random times when using HttpClient on windows phone

I got code like this. When I execute it I got ExecutionEngineException and my app got shut down. I don't know what can I do to fix it. Any ideas? According to my research it's shouldn't be caused by my code. It didn't caused this error before. I…
1
vote
2 answers

ExecutionEngineException for canceling my SharePoint 2013 Workflow

I am using SharePoint 2013, VS2013 and Workflow engine 4.5. I have a custom Application page that I use for the next step in my workflow process. One the buttons on this page is a cancel button. When my users click this, I use ajax to call into my…
user3556527
  • 51
  • 1
  • 5
1
vote
2 answers

P/Invoke throw System.ExecutionEngineException

I have a closed source unmanaged DLL coded in C++ that I wanted to use in a C# solution so I created a wrapper managed DLL that use P/Invoke to call the closed source DLL function. That works pretty well for no param function and int variables.…
jpsimard-nyx
  • 8,587
  • 6
  • 32
  • 48
1
vote
1 answer

why is my exception not catched?

i just had a problem while debugging which i don't get: I'm using a method from kernel32.dll to get the Free RAM, however it throws an System.EngineExecutionException, which I catch, but the Debugger stops anyway at the exception and refuses to…
Christian Elsner
  • 113
  • 1
  • 4
  • 15
0
votes
2 answers

System.ExecutionEngine Exception for charts in C#

I am trying to do the live plot of a sensor data.The UI consists of a chart, a start and stop button. When the start button is pressed, the data from sensor is plotted on the chart using a timer of 100ms. But it throws an exception like System…
0
votes
2 answers

ExecutionEngineException

private void CopyAllFilesToButton_Click_1(object sender, EventArgs e) { folderBrowserDialog1.ShowDialog(); foreach (var item in files) { File.Copy(item, folderBrowserDialog1.SelectedPath); } …
WithFlyingColors
  • 2,650
  • 4
  • 20
  • 25
0
votes
1 answer

Nhibernate 2.1 with Spring on .net 4 throws System.ExecutionEngineException

I've got a website that works on .Net 3.5 running Nhibernate 2.1.0.4000. We are using spring as our ProxyFactory. Everything works fine. I have tried to upgrade the project to .Net 4.0 using the wizard. It all went smoothly. But as soon as the code…
Amjid Qureshi
  • 577
  • 1
  • 8
  • 19
0
votes
2 answers

ExecutionEngineException not caught

I am curious why ExecutionEngineException is not caught when I am executing the code below. try { ((Window)window).Close(); } catch (Exception e) { Console.WriteLine(e); } The WriteLine will never be reached. Any…
bartosz.lipinski
  • 2,627
  • 2
  • 21
  • 34
0
votes
1 answer

ExecutionEngineException thrown when calling native code

I have a function that is exported by a C library with the following signature: extern "C" BOOL Func() The function is declared in VB.NET code like this: Private Shared Function…
Tola Odejayi
  • 3,019
  • 9
  • 31
  • 46