Publishing 32-Bit ASP.NET Applications to a 64-Bit OS

It’s useful to know how to publish your 32-bit ASP.NET applications to a 64-bit operating system (OS). For example, suppose you want to publish to a Windows Server 2003 64-bit OS with IIS6.0. Here’s the procedure:

  1. Unregister the the 64-bit framework with following command:
    %windir%Microsoft.NETFramework64[VersionFolder]aspnet_regiis.exe -u
  2. Run the following command at a command prompt to enable 32-bit mode for web applications:
    %windir%system32cscript %SYSTEMDRIVE%inetpubadminscriptsadsutil.vbs    SET W3SVC/AppPools/Enable32bitAppOnWin64 1
  3. Register the 32-bit framework with the following command:
    %windir%Microsoft.NETFramework[VersionFolder]aspnet_regiis.exe -i

After performing the above steps, publish the web application as usual. Note the difference between the Framework and the Framework64 folder.

To publish to a machine running Windows Server 2008 64-Bit with IIS7.0, you don’t have to register the 32-bit version as both 32-bit and 64-bit versions run side by side. So, the procedure is:

  1. Create an application pool with the following properties:
    • Enable 32-bit applications = True
    • Managed pipeline mode = Integrated
  2. Assign the target application to this application pool so that the application can run under 32-bit mode.
  3. Check that the ISAPI/CGI restriction for aspnet_isapi.dll from the 32-bit framework folder is set to allowed.
  4. Ensure that Anonymous Authentication is enabled for the application.

After performing the preceding steps, your application should run properly with minimum IIS settings. You can specify other settings according to the application requirements.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


The Latest

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS

homes in the real estate industry

Exploring the Latest Tech Trends Impacting the Real Estate Industry

The real estate industry is changing thanks to the newest technological advancements. These new developments — from blockchain and AI to virtual reality and 3D printing — are poised to change how we buy and sell homes. Real estate brokers, buyers, sellers, wholesale real estate professionals, fix and flippers, and beyond may