www.dotNETTools.org

 .NET打开Windows的窗,用Tools打开Programmers的门--小气的神
 
 
 

BUG: "Server Application Unavailable" Error Message from ASP.NET After You Install the MS03-032 Security Update
 

编辑整理 ccBoy , new2001@msn.com , www.dotNETTools.org
Update time : 2003-8-27

 
 

 

IE6  再次发表一个补丁程序针对所有的Windows平台- 我已经打了这个补丁J

A number of security issues have been identified in Microsoft Internet Explorer that could allow an attacker to compromise your Microsoft Windows®-based systems and then take a variety of actions.

Microsoft Security Bulletin - MS03-032

August 2003, Cumulative Patch for Internet Explorer
August 2003, Cumulative Patch for Internet Explorer(For windows 2003 server)

 

还有一个补丁我应该提一下, Please Pay Attention

Unchecked Buffer in MDAC Function Could Enable System Compromise (823718)

Microsoft Security Bulletin MS03-033

Download: MDAC: All affected versions

这个补丁针对Microsoft Data Access Components 2.52.62.7三个版本,但是我建议你直接安装Microsoft Data Access Components 2.8。据我的朋友Steve说他安装了这个补丁之后,他的ASP.NET的应用不能正常的运行,报 Server Application Unavailable” 的错误,修改ASP.NET运行的用户和Config的运行帐户后,发现应用可以运行,但是在VS.NETDebug ASP.NET的功能失效,目前我和他似乎还没有找到更好的办法和获得最新的消息,另外我在网上的讨论组也发现了类似的提问。所以如果你要安装这个补丁,请先做一个测试。

 

 

Colt Kwong 已经贴出之前提到到的Microsoft Security Bulletin MS03-033影响的”Server Application Unavailable”的帖子、相关的原因和解决办法。

ScottGu start a new Forum Group in the official ASP.NET Forum with the captioned subject.

Details can be found at http://www.asp.net/faq/ms03-32-issue.aspx

Discussion can be posted at http://asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=317424

看来它只对ASP.NET V1.0 on Windows XP Professional的起作用,还好我是Win2K3,不过ScottGu亲自出马肯定没问题了该人是ASP.NET TeamProduct Manager还是Product Unit Manager(我不确定是两个中的哪一个J)

 

 

BUG: "Server Application Unavailable" Error Message from ASP.NET After You Install the MS03-032 Security Update

之前我们提到的Microsoft Security Bulletin MS03-033造成ASP.NET的问题已经从ASP.NET Forumz转到了Microsoft KB,今天我又拿Google查了一下这个问题,查到了tech521有一篇中文版的KB,也提了“Server Application Unavailable” 这个错误提示,我摘了下来

 

这篇文章中的信息适用于:

Microsoft ASP.NET(随 .NET 框架一起提供)

Microsoft Internet 信息服务 5.0

Microsoft Mobile Internet Toolkit (MMIT)

From http://www.tech521.com/techData/data/2135.asp

 

本文的发布号曾为 CHS315158 

症状

在域控制器或备份域控制器上安装 Microsoft Visual Studio .NET Microsoft .NET 框架后,如果您尝试运行 ASP.NET 应用程序,则浏览器会显示下面的错误信息:

 

Server Application Unavailable

 

The web application you are attempting to access on this web server is currently unavailable.

 

Please hit the "Refresh" button in your web browser to retry your request.

此外,系统应用程序事件日志中会记录以下事件:

 

aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.

aspnet_wp.exe could not be started.

HRESULT for the failure:80004005 

此问题涉及 Internet 信息服务 (IIS) 5.0 版或更高版本。 

原因

默认情况下,为了提供更安全的环境,ASP.NET 用弱帐户(名为 ASPNET 的本地计算机帐户)运行它的辅助进程。域控制器或备份域控制器上的所有用户帐户都是域帐户,不是本地计算机帐户。因此,Aspnet_wp.exe 由于找不到名为"localmachinename\ASPNET"的本地帐户而未能启动。要在域控制器上提供有效的用户帐户,必须在 Machine.config 文件的 <processModel> 部分指定显式帐户,或者必须使用 SYSTEM 帐户。

 

备注:如果在尝试浏览页面之前尝试进行调试(单击启动按钮),则会出现完全相同的问题。 

解决方案

若要解决此问题,请使用下列方法之一:

创建具有正确权限的弱帐户,然后配置 Machine.config 文件的 <processModel> 部分使用该帐户。

Machine.config 文件的 <processModel> 部分,将 userName 属性设为 SYSTEM

配置 Machine.config 文件的 <processModel> 部分使用管理员帐户。 

备注:如果允许 ASP.NET 应用程序作为 SYSTEM 或管理员帐户运行,将带来严重的安全问题。如果使用其中的任一种变通解决办法,在 Aspnet_wp.exe 进程中运行的代码将能够访问域控制器和域设置。从 Aspnet_wp.exe 进程启动的可执行文件在相同的上下文中运行,它们也能够访问域控制器。

 

因此,Microsoft 建议使用第一种变通解决办法。要使用第一种变通解决办法,请执行以下步骤:

在计算机上创建名为 ASPUSER 的用户帐户,然后将此帐户添加到"用户组"中。

 

备注:如果更改了 .NET 框架创建的 ASPNET 帐户的密码,也可以使用该帐户。您必须知道此帐户的密码,因为需要在后面的步骤中将该密码添加到 <processModel> 部分。

ASPUSER ASPNET 帐户授予"作为批处理作业登录"的用户权限。确保此更改在"本地安全策略"设置中显示。

 

备注:要向此帐户授予"作为批处理作业登录"的用户权限,必须在以下每一个安全策略中授权此用户权限(从"控制面板"/"管理工具"开始操作):

 

 

域控制器安全策略

域安全策略

本地安全策略

 

备注:您必须重新启动服务器,以使这些更改生效。

确保 ASPUSER ASPNET 帐户具有的权限能够访问启动 Aspnet_wp.exe 进程和为 ASP.NET 页提供服务所必需的全部目录和文件。有关必须向此帐户授予哪些权限的其他信息,请单击下面的文章编号,查看 Microsoft 知识库中的文章: 

317012 INFOASP.NET 中的进程和请求标识

 

打开 Machine.config 文件。该文件的路径是:

%Systemroot%\Microsoft.NET\Framework\v1.0.3705\CONFIG.

Machine.config 文件的 <processModel> 部分,将 userName password 属性更改为第 1 步创建的帐户的名称和密码。例如: userName="DomainName\ASPUSER" password="ASPUSERpassword"

保存对 Machine.config 文件所做的更改。 

状态

Microsoft 已经确认这是在本文开头列出的 Microsoft 产品中存在的错误。 

参考

有关 ASP.NET 安全性的其他信息,请单击下面的文章编号,查看 Microsoft 知识库中的文章: 

306590 INFOASP.NET 安全性概述

 

 

下面是我Search的一些KB,对于DCCluster的情况可能有所帮助

 

FIX: ASP.NET Does Not Work with the Default ASPNET Account on a Domain Controller

(315158) - After you install Microsoft Visual Studio .NET or the Microsoft .NET Framework on a domain controller or on a backup domain controller, if you try to run an ASP.NET application, the browser displays the following error message: Server Application...

PRB: "Failed to Start Monitoring Directory Changes" Error Message When You Browse to ASP.NET Page

(316721) - When you browse to an ASP.NET (.aspx) page, you may receive the following error message Access denied to 'C:\Inetpub\Wwwroot' directory. Failed to start monitoring directory changes. with the stack trace: [HttpException (0x80004005): Access denied to...

PRB: "Aspnet_wp.exe Could Not Be Started" Error Message When You View an ASP.NET Page

(811320) - When you try to view a page in an ASP.NET application, you may receive the following error message: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh"...

PRB: "Login Failed" Error Message When You Create a Trusted Data Connection from ASP.NET to SQL Server

(316989) - When you create a trusted connection from ASP.NET to SQL Server, you may receive the following error message: Login failed for user 'MachineName\ASPNET For computers that run Internet Information Services (IIS) 6.0, you may receive the following error...

HOW TO: Install the .NET Framework on a Cluster

(324393) - This step-by-step article describes how to install the Microsoft .NET Framework in a Microsoft Cluster Service (MSCS) configuration to run ASPX pages or Microsoft ASP.NET applications. This article assumes that you already have Internet Information...

BUG: IWAM Account Is Not Granted the Impersonate Privilege for ASP.NET 1.1 on a Windows 2000 Domain Controller with SP4

(824308) - When you install ASP.NET 1.1 on a computer running on a Windows 2000 Server domain controller with Service Pack 4 (SP4) installed, the IWAM account is not granted impersonate user rights for ASP.NET 1.1. When you request an ASP.NET 1.1 page, you may...

INFO: Process and Request Identity in ASP.NET

(317012) - This article outlines the access rights that are granted to the default process account and describes some situations in which these rights may be too restrictive for certain tasks. In the default installation of ASP.NET on Microsoft Windows 2000 and...

HOW TO: Use the System.DirectoryServices Namespace in ASP.NET

(329986) - Introduction This article addresses problems that occur when an application that is written in Visual Studio .NET by using the System.DirectoryServices namespace works properly from a Windows-based or command line application but does not succeed in...

 

 

 

 
 

Time: 27 Aug 2003 - 02:54:52 PM | News Source: author | Posted By: ccBoy Henry  

 
     

 

All trademarks mentioned on this page are the property of their respective owners.
News script by
ccBoy, maintained by ccBoy ?2000-2003 dotNETTools.org Our privacy statement can be read here

Recommended browser: IE6.0+/Avant Browser 8.0+  1024X768 
所有设计和创意版权所有。未经授权请勿传播、转载或改编。如果有问题或建议,请发电子邮件给new2001@msn.com