IIS遇到过的问题

1. IIS的一个莫名错误Server Application Unavailable

http://www.kesion.com/zzcd/asp/aspjq/474.html

新打开这个服务ASP.net state Service后,IIS就正常了。

2.Web Site指定不同的FrameWork版本
aspnet_regiis /s W3SVC/1/ROOT/Test_App” under “C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319

unser c:\windows\system32
iiscnfg /export /f C:\My Folder\test.xml /sp /LM/W3SVC/1/Root/test
iiscnfg
/import /f D:\test.xml /sp /LM/W3SVC/1/Root/test /dp /LM/W3SVC/1/Root/test C:\WINDOWS\system32\inetsrv\cpwd01_cfg.xml ->at char 25 Description: Expected end statement Code: 800A0401 cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “true” => cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 1 ->cscript is not a valid Win32 application Windows Server 2003 C:\WINDOWS\system32\cscript.exe adsutil.vbs get W3SVC/AppPools/Enable32BitAppOnWin64 C:\WINDOWS\SysWOW64\cscript.exe adsutil.vbs get W3SVC/AppPools/Enable32BitAppOnWin64 1.under "C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319 aspnet_regiis /s W3SVC/1/ROOT/test" 2.How to Enable 32-Bit Applications in IIS 6 1) Click the Windows "Start" button and select "Command Prompt." 2) Type the following command and press the "Enter" key: cd c:\Inetpub\AdminScripts If IIS 6 resides on a drive other than the default C drive, substitute "c:\" with the letter of that drive (e.g, "d:\"). 3) Type the following command and press the "Enter" key: cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "true" cscript.exe adsutil.vbs get W3SVC/AppPools/Enable32BitAppOnWin64 Read more : http://www.ehow.com/how_6918900_enable-32_bit-applications-iis-6.html 3.如果改成true后網頁出現500或者404錯誤,則按照下列步驟用回32位的framework cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 aspnet_regiis /s W3SVC/1/ROOT/test cd C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319 aspnet_regiis /s W3SVC/1/ROOT/test Properties -> Directory -> Configuration -> Add c:\windows\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll 不要tick "Verify that file exists" c:\windows\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll

 

转载于:https://www.cnblogs.com/sui84/p/6777155.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值