The third-party reporting controls used by OnTime (DataDynamics' ActiveReports) do not currently work properly in a 64-bit environment, and as a result, OnTime Windows and Web must be run in 32-bit mode.
(Note that these issues do not affect Customer Portal, OnTime SDK, Remote Server, or OnTime for Visual Studio, as these products do not support report generation.)
OnTime Windows
To force OnTime Windows to run in 32-bit mode, you will need the Microsoft .NET Framework CorFlags Conversion Tool. This tool is shipped with the Microsoft Windows SDK, the Microsoft .NET Framework 2.0 SDK, and Microsoft Visual Studio 2005. With OnTime closed, run the following from a command prompt inside your OnTime installation folder:
corflags.exe OnTime.exe /32BIT+
(Note that for this to work, CorFlags will need to be in your path. The easiest way to ensure your path is set correctly is to run the command line shortcut that came with the package that installed CorFlags, e.g. Microsoft Windows SDK CMD Shell, Microsoft .NET Framework 2.0 SDK Command Prompt, Visual Studio 2005 Command Prompt, etc.)
From this point on, whenever OnTime is launched, it will be run as a 32-bit process.
If you are unable to install or run CorFlags, please contact Axosoft Support and we will supply you with a drop-in replacement OnTime.exe that is properly flagged as 32-bit-only.
Note that this is relevant only for OnTime 7.0-7.1.1; all future releases of OnTime Windows will ship with this flag set so that it will work properly out of the box.
OnTime Web
For OnTime Web to run in 32-bit mode, IIS must be configured to run as a 32-bit process. The steps for doing this vary by IIS version.
Important notes for IIS 5.1 and 6.0:
- IIS as a whole must be set to 32-bit or 64-bit -- it is not possible to configure this per application. So if you have any applications other than OnTime Web running on your web server and you would like them to continue to operate in 64-bit mode, you will have to use two seperate web servers instead.
- Once IIS has been switched to run in 32-bit mode, the ASP.Net version selection tab in IIS will disappear. This is a known issue, documented here: http://support.microsoft.com/kb/919283. As a result, to switch between different versions of ASP.Net for your web applications, you will need to use the aspnet_regiis commandline tool that ships with the .NET Framework.
IIS 5.1
- Ensure that the 32-bit version of the .NET Framework 2.0 is installed and fully updated.
- From a command prompt, run the following:
- cscript %SystemDrive%\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
- %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -r
- iisreset
IIS 6.0
- Ensure that the 32-bit version of the .NET Framework 2.0 is installed and fully updated.
- From a command prompt, run the following:
- cscript %SystemDrive%\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/IIs5IsolationModeEnabled 0
- cscript %SystemDrive%\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
- %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -r
- iisreset
IIS 7.0
In the Internet Information Services Manager control panel, do the following:
- Add a new Application Pool, and set its Managed pipeline mode to Classic.
- Go into the new Application Pool's advanced settings and change the Enable 32-Bit Applications setting to True, and ensure the .NET Framework Version is set to v2.0.
- Go into advanced settings for your OnTime Web application and switch the Application Pool to the Application Pool created in step 1.
Development Team
Axosoft