Technical Notes |
|
When building a Verastream Host Integrator (VHI) .NET web application project on a 64-bit Windows system, you may see a "64-bit mode" error. This technical note explains how to resolve this issue.
When building a .NET Web Application project in VHI Web Builder, the build process may fail with an error similar to the following:
C:\Program Files (x86)\VHI\projects\<project name>\build.xml:96: The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible.Verastream Host Integrator supports 64-bit platforms, as described in Technical Note 10030. When the Microsoft Internet Information Services (IIS) web server is in 64-bit mode, VHI Web Builder must also be configured to use the 64-bit Microsoft .NET Framework.
When IIS is configured for 64-bit, and you run a 32-bit application, you will get an error. Alternately, if IIS is configured for 32-bit, you will get an error when you run a 64-bit application.
Use the following information to determine the IIS mode and configure Web Builder.
To determine the IIS mode, enter the following at the Windows command prompt:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs get W3SVC/AppPools/Enable32bitAppOnWin64If the command returns False (0), IIS is in 64-bit mode. If it returns True (1), IIS is in 32-bit mode.
If you prefer not to use the command prompt, use the following steps:
Once you have determined which mode IIS is in, follow the steps below to set the .NET Framework directory in Verastream Web Builder.
Note: Once a Verastream project is built, it can run in either a 32- or 64-bit version of IIS. It is just the build process that needs to be configured to use the correct .NET Framework version.