Running a Microsoft .NET Web Application in 32-bit Mode in IIS 6.0 on a 64-bit Server

First, you need to configure IIS to run 32-bit Web applications on 64-bit Windows, then you need to register the ASP.NET application, then restart the Web publishing service.

  1. Enable IIS 6.0 to run 32-bit Web applications on 64-bit Windows

    1. Open a command prompt and navigate to the \Inetpub\AdminScripts directory.

    2. Type the following:

      cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "true"

    3. Press ENTER.

  2. Register the ASP.NET application

    1. Open a command prompt and navigate to the directory that contains the ASP.NET executable. For example, type

      cd WINDOWS\Microsoft.NET\Framework\v2.0.50727

    2. Type the following, then press ENTER:

      aspnet_regiis.exe -i

      For more information about the ASP.NET IIS Registration Tool (aspnet_regiis.exe), refer to http://msdn2.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx

  3. Start the World Wide Web Publishing Service

    1. Click Start > Run, type services.msc, then press ENTER.

    2. In the list of services, right-click World Wide Web Publishing Service, and then click Start (or Restart).

Related Topic