近日,需要調(diào)試asp,在xp sp2下安裝好自帶的iis,結(jié)果出現(xiàn)html頁(yè)面可以訪問,而asp則出現(xiàn)
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.
的錯(cuò)誤,一番Google,終于解決,現(xiàn)記錄如下:
事件查看器中有如下的錯(cuò)誤:服務(wù)器無法加載應(yīng)用程序 '/LM/W3SVC/1/ROOT'。錯(cuò)誤是 '沒有注冊(cè)類別'。?
[第一步]:
??????????????? 檢查你的DTC服務(wù)(全名:Distributed Transaction Coordinator)是否可以正常啟動(dòng),如果正常的話
??????????????? 請(qǐng)你跳過此步驟;如果出錯(cuò),無法正常啟動(dòng),請(qǐng)?jiān)陂_始菜單的運(yùn)行中 運(yùn)行:msdtc -resetlog????? 以創(chuàng)建
??????????????? 日志文件。重起機(jī)器,檢查IIS是否可以正常使用,若不行繼續(xù)。
?[第二步]:
????????????????在CMD下執(zhí)行以下命令:
????????????????cd %windir%\system32\inetsrv?
??????????????? rundll32 wamreg.dll, CreateIISPackage?
??????????????? regsvr32 asptxn.dll
一切OK。
posted on 2008-06-29 18:50
xiaosilent 閱讀(1712)
評(píng)論(0) 編輯 收藏 所屬分類:
閑言碎語(yǔ)