Configuration Items and Packages Troubleshooting

This section provides instructions for resolving issues with configuration items and configuration packages.

Check the Application Event Log for the following error.

.NET Runtime version X.x.xxxxx.xxxx - Unexpected exception thrown from the provider:
System.Xml.XmlException: Data at the root level is invalid. Line X, position X.
For more information about the Application Event Log, see How to Check the Application Event Log Errors in Configuration Manager Help.

The XML file created when you exported the configuration item contains a ProvisioningItemXML property that is not valid. The XML file cannot be imported and will cause the Common Components Service to stop. The Common Components Service will restart on its own two times. If the XML file is not corrected, the Common Components Service will not restart a third time.

To resolve this issue, open the XML file and correct the ProvisioningItemXML property information. For more information about the configuration XML schema, see Configuration Item XML Files.

If the Common Components Service does not restart on its own, open a Command Prompt window and enter the following Services Snap-in command:

net start “EDM Common Components Service”

For more information about how to use the Services Snap-in commands, see Start, stop, pause, resume, or restart a service on TechNet.

Make sure that you set a valid value for the registry key in the configuration item. A valid registry key value matches the data type of the expected value (such as string, DWORD, and so on) and does not contain blank spaces or lines. Update the properties of the registry key configuration item to include a valid value for the registry key, create a new configuration package, and try to advertise the registry key to the devices again.

In the current version of Device Manager 2011, a registry key value with the following special characters will be treated as invalid: |, <, >, ?, /, :, and “.
To check the value of a registry key configuration item
  1. In Configuration Manager console, under System Center Configuration Manager, expand Computer Management, expand Embedded Device Management, and then expand Device Configuration.

  2. Click Configuration Items, right-click the configuration item that you want to view, and then click Properties.

  3. On the Registry tab, check the Value field to make sure a value was entered.

  4. View the Value field. If the field is blank or the value is not valid, enter a valid value or remove any empty spaces or lines.

Password settings on a device are overridden by Group Policy password settings in Active Directory Domain Services (AD DS) on devices that are joined to a domain. When there are conflicts with security settings, AD DS always overrides any security settings that are defined on the local computer. For more information about security settings, see Security Settings in MSDN.

You can only configure one Trusted Site and one Intranet Site in a single configuration item. If you want to add more than one Trusted Site or Intranet Site to the Internet Explorer settings on a device, create multiple configuration items that contain these settings. For more information about configuration items, see Creating a Configuration Item.

If you create a configuration package with a configuration item that configures WiFi settings, and then advertise the configuration package that includes that configuration item to a device running Windows Embedded for Point of Service 1.1, those WiFi settings will not take effect.

When the Internet Explorer is opened for the first time, the Internet Explorer First Run Wizard appears and overrides all Internet Explorer Settings. Run the Internet Explorer First Run Wizard before you deploy a configuration package with a configuration item that configures Internet Explorer settings to a device.