billroper: (Default)
[personal profile] billroper
If you've been following my little battle against Microsoft's Fault Tolerant Heap which happily enabled itself on a development system in such a way to make actual development use impossible, you may be amused to find out that I now have a solution to the problem and am able to go back to normal debugging with Visual Studio. More or less. :)

It turns out that you can disable the Fault Tolerant Heap by renaming the DLL that it uses: Windows\AppPatch\AcXtrnal.dll. I had tried this before without success, because on Windows Server 2008 R2, the file belongs to "Trusted Installer", which prevents anyone except an installation program from deleting or renaming the file.

If you go to the advanced options in the file properties, you can take ownership of the file away from Trusted Installer and give it to yourself. Then you can add yourself (or just Administrators) to the list of people with Full Control of the DLL.

And then you can rename it.

This will prevent the Fault Tolerant Heap from running on the system at all, at least until you get an OS update that reinstalls it, at which point you'll have to do all this again.

But -- for the time being, at least! -- the Fault Tolerant Heap has been moved to the correct location.

The trash heap.

"Hi! We're from Microsoft and we're here to help you!"

Date: 2011-09-26 07:57 am (UTC)
hrrunka: Laughing icon by Narumi (nar laugh)
From: [personal profile] hrrunka
Heh! ;)

Date: 2011-09-26 01:32 pm (UTC)
From: [identity profile] thelongshot.livejournal.com
I don't know if the trash heap is the correct location, since it does seem to have its use in a production OS. But it does sound like a PITA for a developer. I guess I never ran into it because I haven't done much development work on Windows 7 as of yet. (Last time I did .NET work was mostly on XP machines.)

Date: 2011-09-26 03:05 pm (UTC)
From: [identity profile] thelongshot.livejournal.com
Assuming a reboot actually solves the problem, which it doesn't for all faults.

As I said, this is a pain for the developer, for obvious reasons, but I can see the use for the end user who needs to run a piece of software but is stymied by a problem. The ultimate solution is for the developer of the software to fix the problem, but that isn't always possible.

Profile

billroper: (Default)
billroper

January 2026

S M T W T F S
     1 2 3
4 5 6 7 8910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 11th, 2026 02:56 pm
Powered by Dreamwidth Studios