运行 VB 脚本时出现错误代码 800A0401

问题描述:

我正在尝试在 x64 中运行 X86 应用程序.为此,Microsoft 在 http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/405f5bb5-87a3-43d2-8138-54b75db73aa1.mspx?mfr=true

I am trying to run X86 application in x64. For that Microsoft provided with the below code at http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/405f5bb5-87a3-43d2-8138-54b75db73aa1.mspx?mfr=true

cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "true"

运行此脚本时出现错误

在字符 25描述:预期结束语句代码:800A0401

at char 25 Description: Expected end statement Code: 800A0401

我不知道要检查的 VBscript 语法.请帮帮我.

I don't know VBscript syntax to check. Please help me.

我猜问题在于 true" 中的花哨引号.尝试使用 "true"true 代替.

I guess the problem is fancy quotes in "true". Try using "true" or true instead.