Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

PRB: Device Update 2.0 Entries Are Missing from the Configuration Files After You Upgrade or Reinstall the .NET Framework


View products that this article applies to.

Symptoms

After you upgrade or reinstall the .NET Framework on a computer that has Microsoft .NET Framework 1.1 Device Update (DU) 2.0 installed, the entries for Device Update in the .NET Framework configuration files are missing.

↑ Back to the top


Cause

This problem occurs because, when you upgrade or reinstall the .NET Framework, the Config folder (Windows Directory\WINNT\Microsoft.NET\Framework\v1.1.4322\Config) is overwritten. Therefore, the existing files in the Config folder are deleted, including the DeviceUpdate.config file that is created when you install Device Update 2.0. Also, the new Machine.config file that is created when you upgrade or reinstall the .NET Framework does not have entries for Device Update 2.0.

↑ Back to the top


Resolution

To resolve this problem, reinstall Device Update 2.0. When you reinstall Device Update 2.0, the Machine.config file is updated with the entries of Device Update and the DeviceUpdate.config file is created again. To do this, follow these steps:
  1. Before you upgrade or reinstall the .NET Framework, remove Device Update 2.0 that was installed on the computer when you installed the BETA or earlier version of .NET Framework 1.1.
  2. Remove the existing .NET Framework 1.1 version build.
  3. Install the .NET Framework 1.1 released version.
  4. Install Device Update 2.0.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


More information

Steps to Reproduce the Behavior

  1. If Device Update 2.0 is not installed on your computer, download the Dupdate.exe from the link that appears in the "Resolution" section, and then install Device Update 2.0.
  2. Open the Machine.config file in a text editor (such as Notepad). Machine.config is located in the Windows Directory\WINNT\Microsoft.NET\Framework\v1.1.4322\Config folder.
  3. Verify the Device Update 2.0 installation updates in the configuration file. The following are some of the sections that are added or modified in the Machine.config file for Device Update 2.0:
    <browserCaps>
       <result type="System.Web.Mobile.MobileCapabilities, System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
       <file src="deviceUpdate.config" />
    ..... ..... </browserCaps>
    <assemblies>
    <!-- BEGIN section inserted by Device Update 2 installer.-->
      <add assembly="System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" />
    <!-- END section inserted by Device Update 2 installer.-->
       .....
       .....
    </assemblies>
    
    <mobileControls sessionStateHistorySize="6" cookielessDataDictionaryType="System.Web.Mobile.CookielessData">
    <!--  BEGIN section inserted by Device Update 2 installer. -->
      <device name="XhtmlDeviceAdapters" predicateClass="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlPageAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" predicateMethod="DeviceQualifies" pageAdapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlPageAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral">
       <control name="System.Web.UI.MobileControls.Panel" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlPanelAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.Form" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlFormAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.TextBox" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlTextBoxAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.Label" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlLabelAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.LiteralText" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlLiteralTextAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.Link" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlLinkAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.Command" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlCommandAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.PhoneCall" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlPhoneCallAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.List" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlListAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.SelectionList" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlSelectionListAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.ObjectList" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlObjectListAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.Image" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlImageAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.ValidationSummary" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlValidationSummaryAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.Calendar" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlCalendarAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.TextView" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlTextViewAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.MobileControl" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlControlAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
       <control name="System.Web.UI.MobileControls.BaseValidator" adapter="System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlValidatorAdapter,System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />
     </device>
    <!-- END section inserted by Device Update 2 installer. -->
    </mobileControls>
    
  4. Verify that the DeviceUpdate.config file exists in the following folder:
    Windows Directory\WINNT\Microsoft.NET\Framework\v1.1.4322\Config
  5. Upgrade the .NET Framework to the released version. To upgrade the .NET Framework version 1.1, remove the existing .NET Framework version, and then install the released version.
  6. Verify the Device Update 2.0 installation-related changes in the Machine .config file. The changes that are documented in step 3 do not appear in the current Machine.config file. Also, the required DeviceUpdate.config file is not available in the Config folder.

↑ Back to the top


References

For more information about Device Update Instructions, visit the following Microsoft Web site:

↑ Back to the top


Keywords: KB814773, kbdeployment, kbconfig, kbprb

↑ Back to the top

Article Info
Article ID : 814773
Revision : 6
Created on : 5/16/2007
Published on : 5/16/2007
Exists online : False
Views : 508