server application error应用错误
本地使用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.],然后测试HTML页面也是如此。

网上查找资料,基本的解决思路就是:
1.打开计算机->管理->计算机管理->系统工具->本地用户和组,给"IUSR_机器名"和"IWAM_机器名"两个用户设置密码设置为同一个密码;

2.开始->运行->cmd,打开命令提示窗口
输入 cd C:\Inetpub\AdminScripts (C是你的系统盘符);
输入 cscript.exe
adsutil.vbs set w3svc/wamuserpass 同上密码
输入 cscript.exe
adsutil.vbs set w3svc/anonymoususerpass 同上密码



3.开始->运行->cmd,打开命令提示窗口
输入 cd C:\Inetpub\AdminScripts
输入 cscript.exe synciwam.vbs
-v

4.控制面板->管理工具->组件服务->计算机->我的电脑->COM+应用程序->IIS Out-Of-Process Pooled Applications,右击IIS Out-Of-Process Pooled Applications->属性,切换到IIS
Out-Of-Process Pooled Applications属性对话框的"标识"选项卡。"此应用程序在下列账户下运行"选择中"此用户"会被选中,用户名是"IWAM_***"。这些都是缺省的,不必改动。在下面的"密码"和"确认密码"文本框内输入刚才设置的密码,确定退出,然后再次执行第3步。

5.执行第4部时,可能无法展开“计算机”,组件服务窗口会自动关闭。进入【服务】,发现Com+ Event System这个服务没有,Com+ System Application这个服务不能正常启动。进入注册表,查找确认:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventSystem项。如果没有的话,新建文档文档,将以下代码片段拷贝进去,并命名为 EventSystem.reg,然后将该文件导入注册表,重启电脑。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventSystem]
"Type"=dword:00000020
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,\
5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,76,00,63,\
00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,6b,00,20,00,\
6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
"DisplayName"="COM+ Event System"
"Group"="Network"
"DependOnService"=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,00,00
"DependOnGroup"=hex(7):00,00
"ObjectName"="LocalSystem"
"Description"="支持系统事件通知服务(SENS),此服务为订阅组件对象模型(COM)组件事件提供自动分布功能。如果停止此服务,SENS 将关闭,而且不能提供登录和注销通知。如果禁用此服务,显式依赖此服务的其他服务将无法启动。"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventSystem\Parameters]
"ServiceDll"=hex(2):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,65,00,73,00,\
2e,00,64,00,6c,00,6c,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventSystem\Security]
"Security"=hex:01,00,14,80,7c,00,00,00,88,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,4c,00,03,00,00,00,00,00,14,00,9d,01,02,00,01,01,00,00,00,00,00,\
05,0b,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,18,00,8d,00,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,\
02,00,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,\
00,00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventSystem\Enum]
"0"="Root\\LEGACY_EVENTSYSTEM\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001


6.执行第4部时,可能无法展开"COM+应用程序",报错:错误代码8004E00F-COM+无法与Microsoft分布式事物协调程序交谈。这个情况是MS DTC日志文件被误删了,在开始菜单->运行->输入:msdtc -resetlog回车重新创建日志文件即可,再次启动COM+便可展开"COM+应用程序"。
7.执行第4部时,"COM+
应用程序中"展开后根本找不到IIS Out-Of-Process Pooled Applications的话用以下方式重建IIS Out-Of-Process
Pooled Applications:开始菜单->运行->cmd,打开命令提示窗口
输入 cd
%windir%/system32/inetsrv 切换到system32下inetsrv目录
输入 rundll32 wamreg.dll,
CreateIISPackage 注意:必须准确键入"CreateIISPackage"它区分大小写
输入 regsvr32
asptxn.dll
参考:http://www.king700.com/post/38.html
http://www.cnblogs.com/PBDragon/archive/2010/12/10/1901854.html
server application error应用错误的更多相关文章
- xp操作系统下配置iis,出现了server application error的解决办法
在网上搜索了很多解决办法,最后发现一个差不多的: Server Application Error The server has encountered an error while loading ...
- 解决IIS的Server Application Error
问题描述一下: Server Application ErrorThe server has encountered an error while loading an application dur ...
- 运行错误:Application Error - The connection to the server was unsuccessful
在模拟器上上启动ionic4.6版本 打包成的android APK,启动了很久结果弹出这个问题: Application Error - The connection to the server w ...
- Ionic App 启动时报Application Error - The connection to the server was unsuccessful
最近在更新App的时候,发现在华为手机上报这个错误,有点困惑,查找资料分析,大概原因是程序在加载index.html网页时,加载的资源过多,造成时间超时, 这个时原因分析https://stackov ...
- 问题:C#发布的项目浏览时出现“Server Application Unavailable”错误;结果:Server Application Unavailable出现的原因及解决方案小结
Server Application Unavailable出现的原因及解决方案小结 作者: 字体:[增加 减小] 类型:转载 时间:2012-05-23 今天在服务器安装了个.net 4.0 fra ...
- Runtime Error---Description: An application error occurred on the server....
[原]Runtime Error---Description: An application error occurred on the server.... 2010-1-7阅读2010 评论3 D ...
- 解决SQL Server管理器无法连接远程数据库Error: 1326错误
解决SQL Server管理器无法连接远程数据库Error: 1326错误 我们在在使用SQL Server时都会遇到使用SQL Server Management Studio无法连接远程数据库实例 ...
- IIS HTTP 错误 500.19 - Internal Server Error HTTP 错误 401.3 - Unauthorized 解决办法
前言:IIS是一个强大的服务器管理器,当遇到 IIS HTTP 错误 500.19 - Internal Server Error HTTP 错误 401.3 - Unauthorized 的解决办 ...
- 解决ionic3 android 运行出现Application Error - The connection to the server was unsuccessful
在真机上启动ionic3打包成的android APK,启动了很久结果弹出这个问题: Application Error - The connection to the server was unsu ...
随机推荐
- 安装Pod时提示ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/pod
环境:OSX EI 10.11.1 昨天切换gem源后,招待pod安装没有任何问题,也可以正常用$ gem sources --add https://ruby.taobao.org/ --remov ...
- linux 下mysql 字段插入的值超过 预设大小报错
其原因 是 STRICT_TRANS_TABLES 决定了 如果超出字段大小,则不会截取 ,直接报错. 到/etc/my.cnf 删除 STRICT_TRANS_TABLES 就可以了 sq ...
- git中ssh配置方法
前提:必须先安装好Git for windows(即msysGit)和TortoiseGit 一,检查本地是否已存在ssh $ cd ~/.ssh $ ls 如果存在id_rsa.pub或者id_ds ...
- .htaccess语法中RewriteCond和RewriteRule意义
今天看了301重定向设置的方法,对网站的首页权重有较重要意义.于是看了别人写的.htaccess文件发现一头雾水,于是查了一些资料来进一步理解. RewriteCond语法 RewriteCond T ...
- Input 值改变触发事件
$('#keyword').bind('input propertychange', function() { $('.close-search').show();});
- jQuery侧边栏固定
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...
- Hadoop学习资料
转自:http://cloud21.iteye.com/blog/607175 第一手资源 hadoop官方网站 hadoop.apache.org 最权威的官方资源之一 dev.yahoo.hado ...
- javascript之小积累-.-typeof与instanceof的区别
1.typeof 是获取一个变量或表达式的类型,返回的值通常是string, number, boolean, object(null, 数组, 对象), function, undefined,可以 ...
- samba 配置
sudo apt-get install samba sudo apt-get install kdenetwork-filesharing vi /etc/samba/smb.conf [Share ...
- MATLAB与C/C++混合编程的一些总结
[转载请注明出处]http://www.cnblogs.com/mashiqi 先上总结: 由于C/C++语言的函数输入输出参数的特点,可以将多个参数方便地传入一个函数中,但却不能方便地返回多个参数. ...