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

การแปลบทความ การแปลบทความ
หมายเลขบทความ (Article ID): 827641 - ผลิตภัณฑ์ที่เกี่ยวข้องในบทความนี้
ขยายทั้งหมด | ยุบทั้งหมด



Microsoft has identified a bug in the recent MS03-32 Security Update for Internet Explorer security patch when you apply the patch on a computer that is running Microsoft Windows XP and has Microsoft ASP.NET 1.0 installed. This patch can be installed manually or by obtaining recent critical updates from the Windows Update Web site.

After you install the patch, you receive the following error message when any request is made to ASP.NET:
This bug affects only computers that are running ASP.NET 1.0 on Windows XP. It does not affect computers that are running Microsoft Windows 2000 or Microsoft Windows Server 2003. This bug also does not affect computers that are running Windows XP and have ASP.NET 1.1 installed.

The following table lists the operating systems and the versions of the Microsoft .NET Framework that are affected by this bug:
.NET Framework VersionOperating SystemAffected
1.0Windows 2000 Professionalไม่มี
1.0windows 2000 Serverไม่มี
1.0Windows XP Professionalใช่
1.0Windows Server 2003ไม่มี
1.1Windows 2000 Professionalไม่มี
1.1windows 2000 Serverไม่มี
1.1Windows XP Professionalไม่มี
1.1Windows Server 2003ไม่มี


To work around this bug, run the batch file that is described in the "Batch File" section of this article. This batch file does the following:
  1. Stops the IIS and the ASP.NET state services.
  2. Deletes and then re-creates the ASPNET account by using a known temporary password.
  3. Uses the Windowsrunascommand to start an executable that creates an ASPNET user profile. An ASPNET user profile works around the issue.
  4. Reregisters ASP.NET. This step creates a new random password for the account and applies default ASP.NET access control settings for the account.
  5. Restarts the Microsoft Internet Information Services (IIS) service.
The batch file contains a hard-coded temporary password of "1pass@word". You will be prompted to enter this password for therunascommand when the batch file runs. หลังจากrunascommand has completed, the ASPNET account password is re-created by using a strong random value.

Important Notes

  • The batch file may fail if the hard-coded password does not meet the password complexity requirements in your environment. If this problem occurs, you can change the password to another value that is appropriate for your environment.
  • If you have added custom access control settings or database account permissions for the ASPNET account, you must re-create these settings or permissions after this batch file has completed. This is because a new security identifier (SID) is assigned to this account when the account is re-created.
  • If you are running the ASP.NET worker process by using a custom account that is different from the ASPNET account, do not run this batch file. Instead, you must log on to the computer interactively or you must use therunascommand with that custom account. This procedure creates a user profile for the custom account.
To use the batch file, follow these steps.

หมายเหตุ:Your account must be a member of the Administrators group.
  1. Start Notepad. Verify thatWord Wrapis turned off.
  2. Paste the batch file code in Notepad.
  3. บันทึกแฟ้มเป็นc:\fixup.cmd.
  4. คลิกเริ่มการทำงานแล้ว คลิกเรียกใช้.
  5. ประเภท:cmd.exeแล้ว กด ENTER
  6. ที่พรอมต์คำสั่ง พิมพ์:c:\fixup.cmdแล้ว กด ENTER
  7. When you are prompted for a password, type1pass@word.

    A second command prompt window appears.
  8. After you apply the patch, typeexitin the second command prompt window, and then press ENTER.
  9. If you previously configured custom access control settings or database account permissions for the ASPNET account, you must now reapply these settings.

Batch File

REM Start Batch File
REM This batch file addresses issues that exist with the MS03-32 
REM Security Update when you run ASP.NET 1.0 on Windows XP.
REM If you have any other configuration, do not run this file.
@echo off 

if exist %SystemRoot%\microsoft.net\framework\v1.1* goto v11_installed

REM Change to the .NET Framework installation directory.
cd /d %SystemRoot%\microsoft.net\framework\v1.0.3705 

echo "Stopping IIS."
iisreset /stop 
echo "----------------------"

echo "Stopping the ASP.NET state service if it is running."
net stop aspnet_state
echo "----------------------"

echo "Deleting the ASPNET account."
net user ASPNET /delete 
echo "----------------------"

echo "Creating a new ASPNET account with a temporary password."
net user ASPNET 1pass@word /add 
echo "----------------------"

echo "Launching runas to create a profile."
echo "You see a command window being created."
echo "Type 1pass@word when you are prompted for the temporary password." 
runas /profile /user:ASPNET cmd.exe 
echo "----------------------"

echo "Reregistering ASP.NET and the ASPNET account."
aspnet_regiis -i 
echo "A new random password has been autocreated for the ASPNET account."
echo "----------------------"

echo "Restarting IIS."
iisreset /start 
echo "----------------------"

echo "The workaround has been applied."
echo "Try to access an ASP.NET page."
echo "If you have any custom access controls settings for the ASPNET account,"
echo "you must re-create them."
echo "If you were running the ASP.NET state service, you must restart it."
goto done

echo "Version 1.1 appears to be installed. Do not run this file."

REM End of batch file.


Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.


หมายเลขบทความ (Article ID): 827641 - รีวิวครั้งสุดท้าย: 14 มกราคม 2554 - Revision: 4.0
  • Microsoft ASP.NET 1.0
kbbug kbmt KB827641 KbMtth
ข้อมูลสำคัญ: บทความนี้แปลโดยซอฟต์แวร์การแปลด้วยคอมพิวเตอร์ของ Microsoft แทนที่จะเป็นนักแปลที่เป็นบุคคล Microsoft มีบทความที่แปลโดยนักแปลและบทความที่แปลด้วยคอมพิวเตอร์ เพื่อให้คุณสามารถเข้าถึงบทความทั้งหมดในฐานความรู้ของเรา ในภาษาของคุณเอง อย่างไรก็ตาม บทความที่แปลด้วยคอมพิวเตอร์นั้นอาจมีข้อบกพร่อง โดยอาจมีข้อผิดพลาดในคำศัพท์ รูปแบบการใช้ภาษาและไวยากรณ์ เช่นเดียวกับกรณีที่ชาวต่างชาติพูดผิดเมื่อพูดภาษาของคุณ Microsoft ไม่มีส่วนรับผิดชอบต่อความคลาดเคลื่อน ความผิดพลาดหรือความเสียหายที่เกิดจากการแปลเนื้อหาผิดพลาด หรือการใช้บทแปลของลูกค้า และ Microsoft มีการปรับปรุงซอฟต์แวร์การแปลด้วยคอมพิวเตอร์อยู่เป็นประจำ



Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com