有由 VS 2010 创建的 web 设置项目,当我设置这个项目时一切正常,但是当我检查“修复”选项时,我在安装过程中出错。
MSI 日志文件
Running process 'c:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe' with parameters ' -norestart -sn ""' silently...
Process Call Result Code: '0' Process Exit Code: '1'.
The error indicates that IIS is in 32 bit mode, while this application is a 64 bit application and thus not compatible.
Trying 32 bit version of 'aspnet_regiis.exe'...
Reading registry value Path from key 'HKLM\Software\Microsoft\ASP.NET\4.0.30319.0'...
RESULT Path =
Running process 'c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe' with parameters ' -norestart -sn ""' silently...
Process Call Result Code: '0' Process Exit Code: '1'.
The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible.
我不明白为什么 32 位和 64 位版本的 aspnet_regii 都与应用程序不兼容?
当我检查“设置”而不是“修复”选项时,路径参数设置为我的应用程序并且设置工作正常,所以也许我必须在我的设置项目中更改某些内容?
顺便说一下,IIS6 设置为 64 位模式;)
谢谢