Attachmate Worldwide  |   Contact Us  |   NetIQ.com
Home » Support » Solution Library

Technical Notes

Error Creating Verastream .NET Web Application Project on 64-Bit Windows
Technical Note 10085
Last Reviewed 11-Sep-2008
Applies To
Verastream Host Integrator version 6.6
Summary

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.

Symptom

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.

About 64-Bit and 32-Bit Modes

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.

Note the following:

  • On 64-bit Windows operating systems (such as Microsoft Windows Vista 64-bit editions, Windows XP x64 Edition, or Windows Server 2003 x64 Edition), IIS can be configured to run in 32-bit or 64-bit modes.
  • Microsoft .NET Framework 32-bit and 64-bit versions are installed to separate directories, such as:
C:\WINDOWS\microsoft.net\Framework\v2.0.50727
C:\WINDOWS\microsoft.net\Framework64\v2.0.50727
  • Verastream Host Integrator Web Builder must be configured to use the appropriate .NET Framework that matches the IIS mode. (Web Builder uses the .NET Framework aspnet_regiss.exe registration tool to install ASP.NET and update IIS.)

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.

Solution

Use the following information to determine the IIS mode and configure Web Builder.

Determining Which Mode IIS is Running In

To determine the IIS mode, enter the following at the Windows command prompt:

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs get W3SVC/AppPools/Enable32bitAppOnWin64

If 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:

  1. Right-click your IIS web site and click Properties.
  2. On the Home Directory tab, under Application settings, click Configuration.
  3. In the Application extensions list, scroll down to extension .aspx and mouseover its Executable Path.
  4. The mouseover popup text indicates the .NET Framework directory that is being used.

Configuring Verastream Web Builder

Once you have determined which mode IIS is in, follow the steps below to set the .NET Framework directory in Verastream Web Builder.

  1. In Verastream Web Builder, click Options > Web Builder Settings.
  2. In the left pane, select Microsoft Tools.
  3. In the .NET Framework directory field, browse to and select the appropriate 32- or 64-bit .NET Framework directory, and then click Open > OK.
  4. Build your Verastream project.

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.

Related Technical Notes
10030 Supported Platforms and Systems Requirements for Verastream Host Integrator
40999 Verastream Host Integrator Technical Notes

Did this technical note answer your question?

Yes    No    Somewhat     Not sure yet

Additional comments about this tech note:

Need further help? For technical support, please contact Support.