原因:is not a valid Win32 application
支招:以下方法,本人调试通过了。
ASP.NET applications that use TX Text Control .NET Server must be compiled for 32-bit platforms . 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

相关文章:

  • 2021-04-11
  • 2021-12-29
猜你喜欢
  • 2021-12-16
  • 2021-06-08
  • 2021-07-25
  • 2021-12-07
  • 2022-12-23
  • 2021-09-28
相关资源
相似解决方案