zoukankan      html  css  js  c++  java
  • 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:WINDOWSMicrosoft.NETFramework64v4.0.30319

    unser c:windowssystem32
    iiscnfg /export /f C:My Folder	est.xml /sp /LM/W3SVC/1/Root/test
    iiscnfg
    /import /f D: est.xml /sp /LM/W3SVC/1/Root/test /dp /LM/W3SVC/1/Root/test C:WINDOWSsystem32inetsrvcpwd01_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:WINDOWSsystem32cscript.exe adsutil.vbs get W3SVC/AppPools/Enable32BitAppOnWin64 C:WINDOWSSysWOW64cscript.exe adsutil.vbs get W3SVC/AppPools/Enable32BitAppOnWin64 1.under "C:WINDOWSMicrosoft.NETFramework64v4.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:InetpubAdminScripts 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:WINDOWSMicrosoft.NETFrameworkv2.0.50727 aspnet_regiis /s W3SVC/1/ROOT/test cd C:WINDOWSMicrosoft.NETFrameworkv4.0.30319 aspnet_regiis /s W3SVC/1/ROOT/test Properties -> Directory -> Configuration -> Add c:windowsmicrosoft.netframeworkv4.0.30319aspnet_isapi.dll 不要tick "Verify that file exists" c:windowsmicrosoft.netframeworkv4.0.30319aspnet_isapi.dll
  • 相关阅读:
    什么是仿射变换
    转:vim比较好的学习资料
    学好C++的五十条建议
    转:美国设置地理系的大学名单
    转:windows下安装emacs
    我学习GNU/Linux: 如何上手
    Linux学习路线图 (转载)
    unix编程学习路线图(转)
    转:C++资源之不完全导引
    Why Linux Programming?
  • 原文地址:https://www.cnblogs.com/sui84/p/6777155.html
Copyright © 2011-2022 走看看