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
- Open a command prompt and navigate to the %SystemDrive%\Inetpub\AdminScripts directory.
- Type the following:
cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "true"
- Press ENTER.
To register the ASP.NET application
- 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
- 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
Start the World Wide Web Publishing Service
- Click Start > Run. The Run dialog box appears.
- Type services.msc, then press ENTER. The Services dialog box appears.
- In the list of services, right-click World Wide Web Publishing Service, then click Start (or Restart).