FIX: You may receive error messages when you try to open an .aspx page in ASP.NET or in Visual Studio .NET 2002 (827492)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework) 1.0
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry SYMPTOMSWhen you try to open an .aspx page, you may receive all the following error messages: Error message 1 Server Error in /folder Application. Error message 2 An error occurred during the compilation of a resource required to
service this request. Please review the following specific error details and modify
your source code appropriately.
Error message 3 CS0013: Unexpected error writing metadata to file
'C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
Files\testtest\1a30c5a1\13b5ce7\upifylqt.dll' -- The directory name is invalid. RESOLUTIONWarning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. To resolve this problem, remove Microsoft Visual Studio .NET and the Microsoft .NET Framework from your computer and then reinstall Visual Studio .NET and the .NET Framework on your computer. To do this, follow these steps: - Click Start, click Control Panel, and then click Add or Remove Programs.
- In the Add or Remove Programs dialog box, click Microsoft Visual Studio .NET under Currently installed programs, and then click Change/Remove.
- Follow the instructions that appear on the screen to remove Visual Studio .NET.
Note If you are prompted to restart your computer, do so. When your computer has restarted, return to Add or Remove Programs. - In the Add or Remove Programs dialog box, click Microsoft .NET Framework under Currently installed programs, and then click Change/Remove.
- Follow the instructions that appear on the screen to remove the .NET Framework.
Note If you are prompted to restart your computer, do so. Then, go to step 6. - Click Start, double-click My Computer, and then double-click your system disk.
Note Typically this is Local Disk (C:). - Locate the Windows\System32 folder.
- Locate the Mscoree.dll file.
If the Mscoree.dll file exists, go to step 8a to rename the Mscoree.dll file. Otherwise, go to step 9.- Right-click Mscoree.dll, click Rename, type Mscoree.xxx, and then click OK.
- Right-click the Urttemp folder, and then click Delete.
- Click Start, click Run, type regedit, and then click OK.
- Right-click each of the following subkeys, click Delete, and then click OK.
- HKEY_CLASSES_ROOT\Installer\Products\AA75334BD6A349D45BE6344CD4905E84
- HKEY_LOCAL_MACHINE\Software\Microsoft\.Net Framework
- HKEY_LOCAL_MACHINE\Software\Microsoft\Net Framework Setup
- Click Start, click Shut Down, and then click Restart in the drop-down list.
- Click Start, click Run, type Net Stop iisadmin, and then click OK.
- Click Start, double-click My Computer, and then double-click your system disk.
- Right-click each of the following folders if the folder exists, and then click Delete.
- Windows\Assembly
- Windows\Microsoft.NET
- Windows\System32\Urttemp
- Program Files\Microsoft Visual Studio .NET
- Reinstall Visual Studio .NET.
- Reinstall the .NET Framework.
You may now open an .aspx page. You do not receive the error messages that are mentioned in the "Symptoms" section.
Modification Type: | Minor | Last Reviewed: | 1/20/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbtshoot kbprb KB827492 kbAudDeveloper kbAudEndUser |
---|
|