Products Technologies Demo Docs Blog Support Company

32-bit Server Applications on 64-bit Machines

ASP.NET applications using TX Text Control Server for ASP.NET require 32-bit mode on 64-bit Windows. This four-step guide covers enabling 32-bit support in IIS via adsutil.vbs, installing the .NET Framework 2.0 32-bit web extensions, activating them in IIS Manager, and restarting.

32-bit Server Applications on 64-bit Machines

ASP.NET applications that use TX Text Control Server for ASP.NET (incl. Windows Forms) must be compiled for 32-bit platforms (see this article). IIS must be configured to execute these 32-bit applications. Generally, all applications will be executed in 64-bit mode.

1. Enable IIS's 32-bit support

Open a command prompt and type in the following command:

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

This command enables the 32-bit mode in IIS.

2. Install the IIS 32-bit extensions

Open a command prompt and type the following command:

%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

This command installs the 32-bit web extensions for .NET Framework 2.0.

3. Activate .NET Framework 2.0 32-bit in IIS

In the IIS-Manager, select the 'ASP.NET v2.0.50727 (32bit)' in the 'Web Service Extensions' panel and check 'allow' to activate it.

4. Restart the IIS by opening a command prompt:

iisrestart

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Related Posts

64bit.NET

TX Text Control .NET for Windows Forms 64-bit in Development

Text Control announced that native 64-bit versions of TX Text Control .NET for Windows Forms and TX Text Control Server for ASP.NET are in development, targeting Windows XP Professional x64,…


64bit.NETServerTextControl

TX Text Control .NET for Windows Forms on 64-bit CPUs

Running TX Text Control .NET for Windows Forms on 64-bit Windows XP causes a DllNotFoundException because the 32-bit component launches in 64-bit mode by default. The fix requires setting the…


ASP.NET CoreC#MailMerge

Create 100,000 Documents in Under an Hour with Parallel MailMerge in .NET C#

The DocumentServer.ParallelMailMerge NuGet package makes it simple to process MailMerge jobs in parallel worker processes. This article shows when to use it, how to call it, and how worker counts…


C#.NETPerformance

Speed Up Document Generation by Factor 2 Using Selection Objects in .NET C#

This article compares two ServerTextControl document generation patterns: Assigning prebuilt Selection objects and formatting text after inserting and selecting it. The benchmark shows an…


ASP.NETDockerLinux

Getting Started: ServerTextControl and MailMerge in a .NET 8 Console…

This article shows how to create a .NET 8 console application on Linux using Docker and WSL that uses the ServerTextControl to create a document and MailMerge to merge JSON data into the document.…

Share on this blog post on: