科技

2012年2月15日 星期三

[問題]IIS 中 "Server Application Error" 解決方法

前幾天在測試自己架設的IIS伺服器時,發現網頁出現

Server Application Error

The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.


解決方法

step1. 開啟DTC服務,全名:Distributed Transaction Coordinator)
          若無法開啟服務 請參照這裡

step2.從[開始]→[執行] 輸入cmd

         再依序執行下列步驟
        (1).cd %windir%\system32\inetsrv

        (2).rundll32 wamreg.dll, CreateIISPackage

        (3).regsvr32 asptxn.dll

      執行完畢會顯示一個執行成功視窗,重開機後即可解決這個問題了。

沒有留言:

張貼留言