Server Application Error详细解决办法

来源:百度文库 编辑:神马文学网 时间:2024/04/28 03:29:08

这个问题真的很麻烦,我差点重装系统,我今天偶然发现:
打开Internet 信息服务设置--控制面板--管理工具--Internet 信息服务--网站--在你设置的站点上点鼠

标右键,点击属性,在主目录一栏,在应用程序保护中选择:低IIs保护即可。
遇到这个问题的朋友不妨试一下
一、现象描述:
本地运行asp文件,IE提示:

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.

查看日志文件:

系统日志具体描述如下:

DCOM 错误 无 10010 NT AUTHORITY\SYSTEM Myserver 服务器 {3D14228D-FBE1-11D0-995D-

00C04FD919C1} 没有在限定的时间内用 DCOM 注册。

W3SVC 警告 无 36 N/A Myserver 服务器未能转入应用程序 '/LM/W3SVC/1/Root'。错误是 '服务器运行

失败 '。
若要获取关于此消息的更多的信息,请访问 Microsoft 联机支持站点:

http://www.microsoft.com/contentredirect.asp

应用程序日志具体描述如下:

COM+ 错误 管理 4205 N/A Myserver 由于在下列系统 API 错误,COM+ 服务无法初始化。它通常是由本

地计算机的系统资源存储问题引起的。
CryptAcquireContext
进程名称: dllhost.exe
该错误的严重性已导致进程终止。
错误代码= 0x80090017 : 提供程序类型未被定义。
COM+ 服务内部信息:
文件: .\security.cpp, 行: 617

二、原因分析

    曾经删除过SA,SAM文件是保存用户密码的数据库文件,删除后,所有的用户信息就会丢失,而相

应的组信息也会随之丢失,虽然重新登录过系统,系统已经重新建立了SAM文件,也重新安装了IIS,IWAM

帐号也已经重新建立,但是,原用户组中的特殊信息却没有被恢复。

    检查“开始”->“设置”->“控制面板”->“管理工具”->“组件服务”中,“控制台根目录”->

“组件服务”->“计算机”->“我的电脑”->“COM+应用程序”中,有一个IIS Out-Of-Process Pooled

Applications该应用程序的ID号即为{3D14228D-FBE1-11D0-995D-00C04FD919C1},很多系统报错找不到应

用程序{3D14228D-FBE1-11D0-995D-00
C04FD919C1}之类的错误,就是因为该应用程序未能启动,打开该应用程序的属性,检查标识却为IWAM用

户,右键启动,报错。改为管理员后,可正常启动。把IWAM加入本地管理员组中,也可正常启动。确定是

因为IWAM用户无权访问该应用程序所致。

三、解决办法
1、修改IWAM_Myserver帐号密码,在“开始”->“设置”->“控制面板”->“管理工具”->“计算机管理

”中,“系统工具”->“本地用户和组”->“用户”里面,一个IWAM_Myserver(Myserver为本地计算机

名)的帐号内,右键更改密码,更改为一个自定义的密码即可,假设为“1234”;

2、修改IIS内部IWAM_Myserver帐号密码,在c:\inetpub\adminscripts\目录下(IIS安装默认目录),输

入:c:\inetpub\adminscripts>cscript.exe adsutil.vbs set w3svc/wamuserpass "1234" .修改成功

后,系统有如下提示wamuserpass:               (string) "******"

也可以修改相关文件使查看到的******变为可显示:
在c:\inetpub\adminscripts 找到adsutil.vbs   (根据装系统时设定的不同,有的路径可能不一样)
用记事本打开此文件
查找 issecureproperty = true (只有一个符合字段,在一个条件语句里面)
将 issecureproperty = true 改为 issecureproperty = false
保存关闭。
然后使用命令:cscript.exe adsutil.vbs get w3svc/wamuserpass来获取密码

3、在“开始”->“设置”->“控制面板”->“管理工具”->“计算机管理”中,“系统工具”->“本地

用户和组”->“用户”里面,确认IWAM_My server用户只在GUEST组内,再在“本地用户和组”->“组”

里面,右键点击Users组属性,添加进NT AUTHORITY\Authenticated Users和NT AUTHORITY\Interactive

两个用户成员,确定。

4、在IIS安装默认目录下输入:c:\inetpub\adminscripts>cscript.exe synciwam.vbs -v
将COM+程序的用户改回为IWAM用户,重新启动IIS Out-Of-Process Pooled Applications应用程序,没有

再报错了,再重启IIS,检查所有WEB站点服务,故障现象解除!


Server Application Error解决


在浏览器中:

HTTP 500 - Internal Server 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 contact the

server administrator for assistance.
在系统事件日志中:

Source:DCOM
Error:DCOM got error "Logon Failure:unknown username or bad password" Unable to logon

.\IWAM_SERVERNAME in order to run the server.
- 和 -

Source:W3SVC
Error:"The server failed to load application '/LM/W3SVC/1/Root/op.'The error was 'The server

process could not be started because the configured identity is incorrect.Check the username

and password.
- 或 -

Source:W3SVC Error:"The server failed to load application '/LM/W3SVC/4/Root'.The error was

'c000003b'."
- 和 -

Source:W3SVC Error:"The COM Application '{3D14228D-FBE1-11d0-995D-00C04FD919C1}' at

'/LM/W3SVC/4/Root' failed to activate out of process."


比较简单的解决办法:

在计算机用户管理中删除启动iis及来宾账号,重装一次IIS即可

Server Application Error详细解决办法 IIS安装错误:Server Application Error解决方法 server application error报错信息的解决方案 server application error报错信息的解决方案 Fatal Execution Engine Error (7A05E2B3) 解决办法 为 WebSphere Application Server Community Edit... 使用 WebSphere Application Server Community Edition Server 的 Eclipse 插件 Fatal error: Class 'ZipArchive' not found的解决办法 IBM - MustGather: Read first for all WebSphere Application Server products IBM WebSphere Application Server 诊断和调优(二) The Spring Framework and IBM WebSphere Application Server WebSphere Application Server v6中的问题诊断以及日志策略 Q & A: WebSphere Application Server 常见安全性问题 -... Huihoo - IBM WebSphere Application Server Community Edition 初试 SQL Server安装文件挂起错误解决办法 SQL Server日期计算 (详细) Mysql “Can’t connect to local MySQL server” 的解决办法 SQL SERVER日期函数详细用法 在Red Hat上安装WebSphere Application Server教程在线学习... SQL Server触发器在轨迹保留中的应用 Application of SQL Ser... 另类页面间传值方法。除Session,Application,Cookie,Get,Post,Server.Transfer() 为 WebSphere Application Server Community Edition 开发 Spring 应用程序: 第 1 部分:Spring MVC IBM WebSphere 开发者技术期刊: WebSphere Application Server Community Edition 入门 IBM WebSphere 开发者技术期刊: 使用 WebSphere Application Server V6.1 中的联合存储库扩展用户注册表选项