在64位机器上兼容32位:
1.cscript.exe C:\Inetpub\AdminScripts\adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "true"
2.C:\WINDOWS\Microsoft.NET\Framework\Framework\v4.0.30319 \aspnet_regiis -iru
如果inetpub下面没有AdminScripts,需要重新安装IIS,或者IIS6.0兼容管理器
然后运行iisreset 重启IIS
问题解决