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
  • 相关阅读:
    cocos2dx 菜鸟实习生学习篇(四) 锚点的理解
    cocos2dx 菜鸟进阶篇(三) scrollView(下)
    2012年终总结!
    cocos2dx 菜鸟进阶篇(二) 重力感应
    cocos2dx 菜鸟进阶篇(三) ScrollView(上)
    cocos2dx 菜鸟进阶篇(一) 在游戏中添加music
    Mobile Web项目中碰到的问题及解决
    struts验证框架的使用
    错误解决办法收集
    JSONP跨域访问实现登录验证
  • 原文地址:https://www.cnblogs.com/sui84/p/6777155.html
Copyright © 2011-2022 走看看