aspnet_wp.exe stopped unexpectedly
On one of our deployed environments ASP.NET crashed completely when accessing an Interop dll that invokes MATLAB code.
We isolated the line of code that had the problem, this would run ok from a console application but crash miserly on ASP.NET. Event viewer shows "aspnet_wp.exe (PID: xxxx) stopped unexpectedly".
After spending a lot of time trying different things and googling, I finally ran into this one.
I'm not sure of the security consequences of this change, but since it is on the .NET context, for that environment it seems like a safe solution.