Search

GlobalSCAPE Knowledge Base

How to Run a Microsoft .NET 2.0 or higher Web Application in 32-bit Mode in IIS 6.0 on a 64-bit Server

Karla Marsh
EFT

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT Server (All Versions)

QUESTION

How do I run a Microsoft .NET Web application in 32-bit mode in IIS 6.0 on a 64-bit server?

ANSWER

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.

Before you configure IIS to run 32-bit applications on 64-bit Windows, note the following:

  • IIS only supports 32bit worker processes in Worker Process Isolation mode on 64-bit Windows.
  • On 64-bit Windows, the World Wide Web Publishing service can run 32-bit and 64-bit worker processes. Other IIS services like the IIS Admin service, the SMTP service, the NNTP service, and the FTP service run 64-bit processes only.
  • On 64-bit Windows, the World Wide Web Publishing service does not support running 32-bit and 64-bit worker processes concurrently on the same server.

To enable IIS 6.0 to run 32-bit Web applications on 64-bit Windows

  1. Open a command prompt and navigate to the %SystemDrive%\Inetpub\AdminScripts directory.
  2. Type the following:

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

  3. Press ENTER.

To register the ASP.NET application

  1. Open a command prompt and navigate to the directory that contains the ASP.NET executable. For example, type:
  2. cd WINDOWS\Microsoft.NET\Framework\v2.0.50727

  3. Type the following, then press ENTER:
  4. 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

Start the World Wide Web Publishing Service

  1. Click Start > Run. The Run dialog box appears.
  2. Type services.msc, then press ENTER. The Services dialog box appears.
  3. In the list of services, right-click World Wide Web Publishing Service, then click Start (or Restart).
Details
Last Modified: 3 Years Ago
Last Modified By: kmarsh
Type: HOWTO
Rated 1 star based on 11 votes.
Article has been viewed 32K times.
Options
Also In This Category
Tags