思考两天的问题终于解决了。
我的系统是deepin 5.7精简版的系统,装好IIS以后出现错误:
引用
网页无法正常显示
您要访问的网页出现有故障,目前无法正常访问。
试过改IUSER账号密码也不行,后来将"显示友好HTTP错误信息"勾掉,出现了如下错误:
引用
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.
之后按照
http://zhidao.baidu.com/question/31826531.html的方法终于成功了,解决方法转过来如下:
1。右键我的电脑--管理--本地用户和组,给IUSR_机器名和IWAM_机器名两个用户设置密码,要一样。
2。开始--运行--打cmd,
然后cd D:InetpubAdminscripts(我的系统在D盘),
然后cscript.exe adsutil.vbs set w3svc/wamuserpass 你的密码,
然后cscript.exe adsutil.vbs set w3svc/anonymoususerpass 你的密码
看一下,行了没有?如果还不行,那么
cscript.exe synciwam.vbs -v,
然后iisreset。
据说就可以了,但是到最后一部提示8004e00f的错误,此错误是MSDTC服务不正常造成的,解决方法:
首先进入组件服务(
mathsfan补充:开始->运行->mmc->添加/删除管理单元->添加->组件服务->确定即可),查看组件服务/计算机/我的电脑/COM+应用程序,结果报错“COM+ 无法与 Microsoft 分布式事务协调程序交谈”,无法查看里面的对象。
2、进入事件查看器,发现msdtc服务没有正常启动。
3、删除注册表中的键:
• HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSDTC
• HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSDTC
• HKEY_CLASSES_ROOTCID
4、停止MSDTC服务:net stop msdtc
5、卸载MSDTC服务:msdtc -uninstall
6、重新安装MSDTC服务:msdtc -install
7、确认在事件查看器中msdtc服务已经正常启动[这步很关键,如果没有,重新启动下电脑看看]
8、重新设置IIS的IWAM账号密码。[在计算机管理中的用户管理里]
9、同步IIS metabase中IWAM_MYSERVER的密码,在CMD中:c:inetputadminscripts>adsutil set w3svc/wamuserpass "yourpassword"
10、同步COM+应用程序所用的IWAM_MYSERVER密码,在CMD中:c:inetputadminscripts>cscript synciwam.vbs -v
到这部分网上大部分都说可以了,但是我这里虽然没有8004e00f的错误提示了,但是访问页面Server Application Error 错误依旧,最后终于找到了解决方法如下:
解决办法:
[1]:
检查你的DTC服务(全名:Distributed Transaction Coordinator)是否可以正常启动,
如果正常的话请你跳过此步骤;如果出错,无法正常启动,请在开始菜单的运行中 运行:msdtc -resetlog 以创建日志文件。重起机器,检查IIS是否可以正常使用,若不行继续。
[2]:
在CMD下执行以下命令:
cd %windir%\system32\inetsrv
rundll32 wamreg.dll, CreateIISPackage
regsvr32 asptxn.dll
(到这里我就可以用了,不用重启的)
mathsfan补充:我也是到这里才可以使用的,呵呵
再次感谢这篇文章:
http://zhidao.baidu.com/question/31826531.html
分享到:
相关推荐
IIS出现server application error,最终解决办法
iis错误Server Application Error的解决方法(工具)
iis错误Server Application Error的解决方法 我在用pb11.5做web发布过程中遇到这类错误,使用了这个修复工具搞定了,比较不错!
终极解决 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 ...
解决IIS中server application error 错误! 教你如何判断错误,如何解决问题!
解决IIS的“Server Application Error”故障的终极办法 - ZFreet @自留田塘™
iis使用过程中遇到的一系列的错误,及解决方案。
IIS出现Server Application Error错误时,可以用此工具修复
解决IIS的Server Application Error的2种方法
IIS 错误 Server Application Error 详细解决方法
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 ...
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 ...
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 ...
iis 服务器不能执行.asp 文件正确的处理方法
前几天在IIS的配置上出了些问题,到网上查找了些资料,顺便整理放在这里...5.安装后在地址栏中输入http://localhost出现Server Application Error 错误即500 错误 6.安装后默认网站无法启动 再说说这些问题的解决方法