Microsoft KB Archive/931200: Difference between revisions

From BetaArchive Wiki
m (Text replacement - "<" to "<")
m (Text replacement - ">" to ">")
 
Line 46: Line 46:
== RESOLUTION ==
== RESOLUTION ==


To resolve this issue, you must add the missing text under the '''<traceProviderDefinitions&gt;''' section of the applicationHost.config file. To do this, follow these steps:
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:
<ol>
<ol>
<li>Right-click '''Start''', and then click '''Explore'''.</li>
<li>Right-click '''Start''', and then click '''Explore'''.</li>
Line 52: Line 52:
<li>Right-click '''applicationHost.config''', and then click '''Open With'''.</li>
<li>Right-click '''applicationHost.config''', and then click '''Open With'''.</li>
<li>In the '''Open With''' dialog box, click '''WordPad''' under '''Recommended Programs''', and then click '''OK'''.</li>
<li>In the '''Open With''' dialog box, click '''WordPad''' under '''Recommended Programs''', and then click '''OK'''.</li>
<li><p>In WordPad, paste the following code example under the '''<traceProviderDefinitions&gt;''' section.</p>
<li><p>In WordPad, paste the following code example under the '''<traceProviderDefinitions>''' section.</p>
<pre class="fixed_text"><add name=&quot;ASPNET&quot; guid=&quot;{AFF081FE-0247-4275-9C4E-021F3DC1DA35}&quot;&gt;
<pre class="fixed_text"><add name=&quot;ASPNET&quot; guid=&quot;{AFF081FE-0247-4275-9C4E-021F3DC1DA35}&quot;>
   <areas&gt;
   <areas>
     <add name=&quot;Infrastructure&quot; value=&quot;1&quot; /&gt;
     <add name=&quot;Infrastructure&quot; value=&quot;1&quot; />
     <add name=&quot;Module&quot; value=&quot;2&quot; /&gt;
     <add name=&quot;Module&quot; value=&quot;2&quot; />
     <add name=&quot;Page&quot; value=&quot;4&quot; /&gt;
     <add name=&quot;Page&quot; value=&quot;4&quot; />
     <add name=&quot;AppServices&quot; value=&quot;8&quot; /&gt;
     <add name=&quot;AppServices&quot; value=&quot;8&quot; />
   </areas&gt;
   </areas>
</add&gt;</pre></li>
</add></pre></li>
<li>On the '''File''' menu, click '''Save''', and then close WordPad.</li></ol>
<li>On the '''File''' menu, click '''Save''', and then close WordPad.</li></ol>



Latest revision as of 10:25, 21 July 2020

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



APPLIES TO

  • Microsoft Internet Information Services 7.0



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.

Keywords: kbtshoot kbexpertisebeginner kbprb KB931200