Microsoft KB Archive/931200

From BetaArchive Wiki
Knowledge Base

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

Article ID: 931200

Article Last Modified on 2/22/2007


  • Microsoft Internet Information Services 7.0


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.


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}">
        <add name="Infrastructure" value="1" />
        <add name="Module" value="2" />
        <add name="Page" value="4" />
        <add name="AppServices" value="8" />
  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.

Keywords: kbtshoot kbexpertisebeginner kbprb KB931200