使用IIS运行ASP程序,出现如下信息提示:
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.

对策 :
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服务不正常造成的,解决方法:
1、首先进入组件服务,查看组件服务/计算机/我的电脑/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

转载于:https://www.cnblogs.com/lin614/archive/2011/06/21/2085810.html

IIS问题:Server Application Error 的解决相关推荐

  1. iis错误Server Application Error的解决方法(附修复工具下载)

    跟我一起住的一哥们,现在因为工作的需要,开始接触网络了,结果在很不容易的查询请教中,安装完IIS后,出现了让人心酸的问题:     Server application Error The Serve ...

  2. iis出现 Server Application Error 错误解决方法(xp iis5.1 配置asp项目出现500错)

    1.通过:internet选项--高级--把显示友好http去掉.显示具体的错误. 备注:一般都是:Server Application Error的错误 2.输入cd %windir%/system ...

  3. IIS出现server application error解决方案

    IIS出现server application error解决方案  Server Application Error The server has encountered an error whil ...

  4. xp2 server application error 错误解决

    由于懒惰,gosht拉一个xp系统,结果iis装上访问asp页面就出错,错误提示: Server Application Error The server has encountered an err ...

  5. IIS出现server application error,请问怎么解决?

    Server Application Error The server has encountered an error while loading an application during the ...

  6. server系统iis服务器不符合,解决IIS的Server Application Error的3种方法

    有一段时间没有调试asp网站了,打开iis本地调试asp页面却提示错误:"Server Application Error",这是怎么回事?网上搜索了一大堆资料,iis卸载重新安装 ...

  7. Ubuntu aosp 编译过程中Jack server SSL error 错误解决方法

    编译aosp 大概率会出现jack server 跑不起来然后抛一个类似这样的错误 [ 10% 538/4980] Ensuring Jack server is installed and star ...

  8. open ssl android编译,aosp 编译过程中Jack server SSL error 错误解决方法

    编译aosp 大概率会出现jack server 跑不起来然后抛一个类似这样的错误[ 10% 538/4980] Ensuring Jack server is installed and start ...

  9. 解决ionic3 android 运行出现Application Error - The connection to the server was unsuccessful

    在真机上启动ionic3打包成的android APK,启动了很久结果弹出这个问题: Application Error - The connection to the server was unsu ...

最新文章

  1. 关于debug.keystore文件用法以及错误处理
  2. git push 的符号笔有什么用_Git自救指南(一)——工欲善其事,必先利其器,基本概念概览...
  3. 相机内外参矩阵和坐标变换
  4. Visual Studio 2017发布会:黄金时代的家族聚会
  5. 用Python写一个将Python2代码转换成Python3代码的批处理工具
  6. laravel接口开发JWTAuth
  7. 20191014:快速排序1.2
  8. SESSION 与 COOKIE的区别是
  9. 开放源代码软件及其许可证的法律特征研究
  10. matlab南方平差易,测量平差实习心得多篇
  11. DVWA安装教程(Linux)
  12. 策略模式和责任链模式
  13. wps在Linux上使用命令打开文档的方法
  14. MySQL--创建表
  15. Mac电脑Finder侧边栏不显示iCloud云盘怎么办?
  16. python爬虫详解(三)——爬取世界常用密码并保存到字典内
  17. 遍历Java中的列表
  18. 【毕业设计】基于单片机的门禁系统 - 嵌入式 物联网
  19. RenderSystem_Direct3D9_d 不能加载
  20. 如何挑选合适的办公资源PPT模板?

热门文章

  1. flink中的java匿名函数修改为实名函数
  2. /hbase/WALs/desktop,xxxxxxxx-splitting is non empty: Directory is not empty
  3. python3的flask出现UnicodeDecodeError UnicodeDecodeError
  4. mysql8出现The MySQL server is running with the --skip-grant-tables option so it cannot execute
  5. 哑编码官方代码自己的注解
  6. Ubuntu Linux 18.10下面安装魔法门之英雄无敌3
  7. 深度学习(三十)——Deep Speech, 自动求导
  8. 判断元素是否在ndarray_专业文章 | 如何判断是否构成有“一定影响”的包装装潢...
  9. Linux 运行进程实时监控pidstat命令详解
  10. Oracle报错:类型长度大于最大值解决办法