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
  • 相关阅读:
    过滤评论中的表情
    谈谈你对多进程,多线程,以及协程的理解
    什么是多线程竞争?
    解释以下什么是锁,有哪几种锁?
    .什么是死锁
    多线程交互访问数据,如果访问到了就不访问了?
    什么是线程安全,什么是互斥锁
    说说下面几个概念:同步,异步,阻塞,非阻塞?
    什么是僵尸进程和孤儿进程?怎么避免僵尸进程?
    python中进程与线程的使用场景
  • 原文地址:https://www.cnblogs.com/sui84/p/6777155.html
Copyright © 2011-2022 走看看