Share via


How to: Find Application Configuration File Settings in Deployment Reports

In the XML deployment report, a "Configuration" <Resource> element is located within the "Directory" <Resource> element for each application you need to deploy. This "Configuration" element contains <Setting> and <Resource> elements that contain the application configuration file settings needed for deployment. You need to update the corresponding application configuration file with these settings. For more information, see Application Information in Deployment Reports.

Note

Configuration file settings in the deployment report have the same names as their counterparts in the configuration file. However, some resource names under which settings appear in the deployment report differ from the corresponding sections in the configuration file. For more information, see Configuration File Sections in Deployment Reports.

To find application configuration file settings in the deployment report

  1. Open the XML version of the deployment report.

  2. Find the <Applications> element and then the <Application> element for the application.

  3. Within the <Application> element, find the "Directory" <Resource> element.

  4. Within the "Directory" element, find the "Configuration" <Resource> element.

    Under the "Configuration" element, the <Setting> and <Resource> elements contain the configuration file settings you need to configure for the application.

Example

The following example contains an <Application> element for an ASP.NET application. This application is identified with the "Extends" attribute of "Microsoft_WebApplication:WebApplication". Within the <Application> element, the "Directory" <Resource> element contains a "Configuration" <Resource> element. This "Configuration" element contains the application configuration file settings you need to configure the application for deployment.

<Application Name="MyWebAppUse" Definition="MyWebApp:MyWebApp" Extends="Microsoft_WebApplication:WebApplication" InstanceId="e96b7714-237d-410a-b3ce-519fe5e3634f">
   ...
      <Resource Name="Directory" Definition="MyWebApp1:MyWebApp1.Directory" Extends="Microsoft_FileSystem:Directory" InstanceId="11742aef-b431-4b7d-b59e-4e1c6ff8c3eb">
      ...
         <Resource Name="Configuration" Definition="MyWebApp:MyWebApp.Directory.Configuration" Extends="Microsoft_Configuration:Configuration" InstanceId="da4340ac-50f3-45c7-aa13-47be6cc74624">
            <Setting Name="Hash" Definition="Microsoft_FileSystem:Hash" State="Set" Null="true" />
            ...
         </Resource>
      ...
      </Resource>
   ...
</Application>

See Also

Concepts

Overview of Deployment Using Deployment Reports

Reference

Overview of Key Sections in Deployment Reports