Enable 32-bit Server Applications on 64-bit Machines

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编码等等疑难杂症。

转载于:https://www.cnblogs.com/matong/archive/2012/08/05/2624021.html

### Xenomai 4 on AMD Platform Installation and Configuration Guide For the installation of Xenomai 4 on an AMD platform, it is important to ensure that both hardware compatibility and software requirements are met. The process involves setting up a real-time kernel alongside configuring specific parameters tailored for AMD processors. #### Prerequisites Before proceeding with the installation, verify that the system meets these prerequisites: - A compatible version of Linux distribution such as Ubuntu or Fedora. - An AMD processor supporting SVM (Secure Virtual Machine) technology which enhances virtualization performance[^1]. #### Kernel Preparation To achieve optimal results when running Xenomai applications on AMD platforms, prepare a custom-built kernel configured specifically for this purpose. This includes enabling certain options within the `.config` file during compilation like `CONFIG_X86_64`, ensuring support for 64-bit architecture common in modern AMD CPUs. ```bash make menuconfig ``` Ensure configurations related to preemption models (`PREEMPT_RT`) are selected appropriately since they play a crucial role in achieving low latency required by many embedded systems using Xenomai framework. #### Installing Dependencies Install necessary dependencies before building from source code. On Debian-based distributions including Ubuntu, use apt-get package manager commands similar to those below: ```bash sudo apt update && sudo apt install build-essential git cmake libtool autoconf pkg-config ``` These tools facilitate compiling third-party libraries essential for developing under Xenomai environment especially targeting AMD architectures where some unique features might require additional packages not present out-of-the-box. #### Building Xenomai Framework Clone official repository containing latest stable release branch suitable for your target machine's specifications then follow standard procedure outlined hereafter but pay attention particularly towards patches applicable only if you're working directly off master branches rather than tagged releases intended primarily for production environments: ```bash git clone https://github.com/xenomai/xenomai.git -b xenomai-3.x-stable cd xenomai/ ./bootstrap ./configure --enable-smp --with-core=cobalt make all sudo make install ``` Note how SMP capability has been explicitly enabled through configure script invocation; multi-threaded execution becomes increasingly relevant given today’s multicore nature prevalent among contemporary desktop/workstation class AMD Ryzen series processors. #### Post-installation Setup After successful completion of above steps, proceed further into post-install setup phase involving module loading along with verifying proper functioning via simple test programs provided inside examples directory shipped together with core sources downloaded earlier. ```bash sudo modprobe cobalt xnstat -r ``` This command sequence ensures Cobalt skin—the default choice—is active while also checking statistics about internal operations performed internally thus far after booting up modified OS image incorporating Xenomai enhancements aimed at improving determinism characteristics critical across various industrial automation scenarios leveraging advanced computing capabilities offered nowadays even outside traditional Intel territory thanks largely due competitive offerings brought forth recently by AMD itself. --related questions-- 1. What modifications should be made to optimize Xenomai 4 performance specifically for AMD EPYC servers? 2. How does one troubleshoot issues encountered during Xenomai installations on AMD-based machines? 3. Can you provide guidance on writing efficient real-time applications utilizing Xenomai APIs targeted toward AMD GPUs instead of just CPU cores? 4. Are there any known limitations or challenges associated with deploying Xenomai over AMD Threadripper workstations compared to other consumer-grade alternatives available currently?
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值