Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I had a problem with an application running in Windows Server 2008 R2. I found from IBM's website that the reason for this problem was that the application was 32bit and Win Server 64 bit. The guidance was:

Method #2

Modify the 64-bit client device (for example Windows 2003 64-bit Citrix/Terminal Server) to automatically run all website's .NET code as 32 bit

Steps:

  1. Logon to the 64-bit (operating system) client device as an administrator

  2. Start - Run "CMD" (to launch a command prompt)

  3. Change directory to C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\
  4. Ldr64.exe setwow

This will disable the "COMPLUS_ENABLE_64BIT" flag and cause all .NET code to run as 32-bit on this 64-bit client device.

I would like to know how can I enable this COMPLUS_ENABLE_64BIT again?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You repeat the first three steps, then execute Ldr64 with different arguments:

Ldr64.exe Set64

This will restore the ability to run the 64bit runtime.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.