Enable 32-bit Server Applications on 64-bit Machines
2012-08-05 17:28
591 查看
ASP.NET applications that use TX Text Control .NET Server 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:(用VS那个管理员cmd也是可以的)
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.
%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
This command installs the 32-bit web extensions for .NET Framework 4.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.
IIS7.0或7.5的在根属性的ISAPI & CGI Limit里面,可以看到两个版本一样但目录不一样的.net版本,allow了就行了
4. Restart the IIS by opening a command prompt:
iisrestart and have fun~
PS:此大法能解决Interop.MSScriptControl.dll不支持64bit编码等等疑难杂症。
1. Enable IIS's 32-bit support
Open a command prompt and type in the following command:(用VS那个管理员cmd也是可以的)
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.
%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
This command installs the 32-bit web extensions for .NET Framework 4.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.
IIS7.0或7.5的在根属性的ISAPI & CGI Limit里面,可以看到两个版本一样但目录不一样的.net版本,allow了就行了
4. Restart the IIS by opening a command prompt:
iisrestart and have fun~
PS:此大法能解决Interop.MSScriptControl.dll不支持64bit编码等等疑难杂症。
相关文章推荐
- 32-bit Server Applications on 64-bit Machines
- Running IIS 32-bit Applications on IIS 64-bit
- Running IIS 32-bit Applications on IIS 64-bit
- Running IIS 32-bit Applications on IIS 64-bit
- Configuring IIS to Run 32-bit ASP.NET Applications on 64-bit Windows (IIS 6.0)
- [摘抄] Configuring IIS to Run 32-bit Applications on 64-bit Windows (IIS 6.0)
- Cannot load 32-bit SWT libraries on 64-bit JVM
- tomcat启动报错java.lang.UnsatisfiedLinkError: D:\...Can't load AMD 64-bit .dll on a IA 32-bit' platform
- 解决Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform问题
- Can't load AMD 64-bit .dll on a IA 32-bit platform
- 解决Tomcat: Can't load IA 32-bit .dll on a AMD 64-bit platform 问题
- Can't load AMD 64-bit .dll on a IA 32-bit platform
- Cannot load 32-bit SWT libraries on 64-bit JVM
- Tomcat Can't load AMD 64-bit .dll on a IA 32
- 加载动态链接库时提示Can't load IA 32-bit .dll on a AMD 64...
- Cannot load 32-bit SWT libraries on 64-bit JVM
- Installing 11.2.0.3 Or 11.2.0.4 (32-bit (x86) or 64-bit (x86-64) ) On RHEL6 Reports That Packages "e
- HOWTO: Cross-compiling a 32-bit (i386) Linux kernel on 64-bit Machine (amd64)
- java.lang.UnsatisfiedLinkError: ...Sample1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
- C:\windows\System32\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform 问题