Article ID: 931200 - Last Review: February 22, 2007 - Revision: 1.1

ASP.NET Trace Provider information is removed from the applicationHost.config file after you install Active Server Pages on a Windows Vista-based computer

Expand all | Collapse all

SYMPTOMS

Consider the following scenario. You install Microsoft ASP.NET on a Windows Vista-based computer. Then, you install an earlier version of Microsoft Active Server Pages (ASP). In this scenario, the ASP.NET trace provider information is removed from the applicationHost.config file.

RESOLUTION

To resolve this issue, you must add the missing text under the <traceProviderDefinitions> section of the applicationHost.config file. To do this, follow these steps:
  1. Right-click Start, and then click Explore.
  2. In Windows Explorer, locate the \Windows\System32\Inetsrv\Config folder.
  3. Right-click applicationHost.config, and then click Open With.
  4. In the Open With dialog box, click WordPad under Recommended Programs, and then click OK.
  5. In WordPad, paste the following code example under the <traceProviderDefinitions> section.
    <add name="ASPNET" guid="{AFF081FE-0247-4275-9C4E-021F3DC1DA35}">
      <areas>
        <add name="Infrastructure" value="1" />
        <add name="Module" value="2" />
        <add name="Page" value="4" />
        <add name="AppServices" value="8" />
      </areas>
    </add>
  6. On the File menu, click Save, and then close WordPad.
Note By default, the applicationHost.config file is located in the \Windows\System32\Inetsrv\Config folder on the Windows Vista-based computer.

APPLIES TO
  • Microsoft Internet Information Services 7.0
Keywords: 
kbtshoot kbexpertisebeginner kbprb KB931200
 

Article Translations