You receive an error message when you use the ASP.NET compilation tool to compile an ASP.NET Web application (924688)
The information in this article applies to:
SYMPTOMSConsider the following scenario:
- You create a Microsoft ASP.NET Web application that uses
the HTTP location. Therefore, the ASP.NET Web application is registered in Internet
Information Services (IIS).
- You compile the ASP.NET Web application by using the
command-line ASP.NET compilation tool (Aspnet_compiler.exe).
In this scenario, you may receive one of the following error
messages: error ASPRUNTIME:
'/ApplicationName' is not a valid IIS
application. error ASPRUNTIME: Failed to access
IIS metabase. CAUSEThis problem occurs because the ASP.NET compilation tool cannot access the Internet Information Services (IIS)
metabase configuration files for the ASP.NET Web application.RESOLUTIONMicrosoft Windows XP and Microsoft Windows Server 2003To resolve this problem in Windows XP or in Windows Server 2003,
follow these steps:
- Click Start, click
Programs, click Microsoft Visual Studio 2005,
click Visual Studio Tools, right-click Visual Studio
2005 Command Prompt, and then click Run
as.
- Select a user account that has administrative rights, type
the password for the user account, and then click
OK.
- When the Command Prompt window opens, compile the ASP.NET
Web application.
Modification Type: | Major | Last Reviewed: | 9/29/2006 |
---|
Keywords: | kbtshoot kbprb KB924688 kbAudDeveloper |
---|
|