JIT Debugging using Visual Studio may fail when trying to debug a Session 0 Process on Windows 8

When you try to JIT debug a Session 0 process (like a windows service) on Windows 8 using Visual Studio Debugger, you may find it fails to launch the debugger and see below error in the Application Event Log "Just-In-Time debugging this exception failed with the following error: The operation attempted is not supported". The…

4

Unexpected Out of Memory Exception in .Net 4.5 Applications that uses Custom Stack Commit Size

Recently I worked with a developer who was seeing an Unexpected Out of Memory Exception from his .Net 4.5 Application that was using custom stack reserve and commit sizes for the application. He was setting the values in Visual Studio as shown below This particular application had some code that create new AppDomain using AppDomain.CreateDomain()…

4

VC++ application fails with R6034 "An application has made an attempt to load the C runtime library incorrectly."

Visual C++ application fails with the runtime error R6034 “An application has made an attempt to load the C runtime library incorrectly.” There can be many reasons for the crash. We should check some of the obvious reasons for it. I have listed some of them here: 1. Check to see if the manifest has multiple…

0