Microsoft KB Archive/930711

= Error message when you update a Desktop Configuration Server in SoftGrid Client Management 4.x: &quot;The SoftGrid Client could not update desktop configuration information from the server . Error code: 05-0000000D&quot; =

Article ID: 930711

Article Last Modified on 3/23/2007

-

APPLIES TO


 * Microsoft SoftGrid for Terminal Services
 * Microsoft SoftGrid for Windows Desktops

-



SYMPTOMS
When you update a Desktop Configuration Server in SoftGrid Client Management 4.x, the operation is not successful. Additionally, you receive the following error message:

The SoftGrid Client could not update desktop configuration information from the server.

The SoftGrid Client encountered an error parsing the specified XML file. Please report the following error code to your System Administrator.

Error code: 05-0000000D

Additionally, the following error message is logged in the SoftGrid Client log file (Sftlog.txt):

XML parsing error near line



CAUSE
This issue may occur when one or more of the following conditions are true:
 * An application version does not contain an alphanumeric character.
 * The application list that is returned by the Desktop Configuration Server contains invalid XML.
 * The server's Type field is configured for Standard HTTP Server, and the .xml file that is specified is invalid.



RESOLUTION
To resolve this issue, use one or more of the following methods, as appropriate for your situation.

Method 1: Make sure that the application version contains an alphanumeric character
If you add an application to the SoftGrid Management Console without typing an alphanumeric character for the version, the application causes the update operation to be unsuccessful. For example, this issue occurs if you add an application only by pressing SPACEBAR one time.

Application versions must contain an alphanumeric character. To verify that the application version contains an alphanumeric character, follow these steps:  Click Start, point to All Programs, click Administrative Tools, and then click SoftGrid Management Console. Expand SoftGrid Systems, expand  , and then expand Applications. Examine the Version column for an application version that appears to be blank. If you locate an application version that appears to be blank, right-click the application, and then click Properties. For Version, type a version that contains an alphanumeric character. For example, type 1.0 . Locate the .osd file that is specified in the OSD Path field.</li> Open the .osd file by using a text editor such as Notepad.</li> In the VERSION=&quot;&quot; attribute of the <SOFTPKG> element, type the same application version that you typed in step 5, as follows:

<SOFTPKG NAME=&quot;Default SoftGrid Application&quot; VERSION=&quot;1.0&quot;>

</li> Save the .osd file, and then exit the text editor.</li> Exit the SoftGrid Management Console.</li></ol>

Method 2: Correct the XML in the application list that is returned by the Desktop Configuration Server
When the client updates against the server, the server returns a list of applications in XML. If the list contains invalid XML, the update operation is not successful.

Frequently, this issue occurs because the ampersand character (&) is used in environments that include a 3.x version of the SoftGrid Virtual Application Server and a 4.x version of SoftGrid Client Management. To verify this, follow these steps: <ol> Click Start, point to All Programs, click Administrative Tools, and then click SoftGrid Client Management.</li> Right-click SoftGrid on localhost, and then click Properties.</li> Click the General tab.</li> In the Log Level list, select Verbose, and then click OK.</li> Click Desktop Configuration Servers, right-click the server that you want, and then click Refresh.</li> Locate the following folder:

%ProgramFiles%\Softricity\SoftGrid for Windows Desktops or Terminal Servers

</li> Open the Sftlog.txt file by using a text editor such as Notepad.</li> Search for the <APPLIST> element.</li>  Copy the text from <APPLIST> to </APPLIST>, and then save the text to an .xml file.

For example, copy and then save the following text. <APPLIST> <APP NAME=&quot;Default SoftGrid Application&quot; VERSION=&quot;1.0 & 2.0&quot; OSD=&quot;DefaultApp.osd&quot; ICON=&quot;DefaultApp.ico&quot;> <SHORTCUTLIST MANAGEMENT=&quot;ServerOnly&quot;> <SHORTCUT LOCATION=&quot;%CSIDL_DESKTOPDIRECTORY%&quot; /> </SHORTCUTLIST> </APP> </APPLIST> </li>  Open the .xml file by using a Web browser. The Web browser may report the line number and the column where the error occurred, as follows. Whitespace is not allowed at this location. Error processing resource 'file://filename.xml' <APP NAME=&quot;Default SoftGrid Application&quot; VERSION=&quot;1.0 & 2.0&quot; OSD=&quot;DefaultApp.osd&quot; ICON=&quot;DefaultApp.ico&quot;> -^ In this example, the ampersand character in the &quot;Default SoftGrid Application&quot; application version is causing the issue. </li> Click Start, point to All Programs, click Administrative Tools, and then click SoftGrid Management Console.</li> <li>Expand SoftGrid Systems, expand  , and then expand Applications.</li> <li>Right-click the application that you located in step 10, and then click Properties. For example, right-click the &quot;Default SoftGrid Application&quot; application.</li> <li>Correct the invalid XML. For example, remove the ampersand character from the VERSION field.</li> <li>Locate the .osd file that is specified in the OSD Path field.</li> <li>Open the .osd file by using a text editor such as Notepad.</li> <li>Correct the invalid XML. For example, remove the ampersand character from the VERSION=&quot;&quot; attribute of the <SOFTPKG> element.</li> <li>Save the .osd file, and then exit the text editor.</li> <li>Exit the SoftGrid Management Console.</li></ol>

Method 3: Make sure that the .xml file that is specified is valid if the server's Type field is configured for &quot;Standard HTTP Server&quot;
You receive the error message that is mentioned in the &quot;Symptoms&quot; section if the Desktop Configuration Server Type field is configured for Standard HTTP Server and if the path of the .xml file or the .xml file name do not exist or are typed incorrectly, or if the .xml file contains invalid XML. To verify this, follow these steps:
 * 1) Click Start, point to All Programs, click Administrative Tools, and then click SoftGrid Client Management.
 * 2) Click Desktop Configuration Servers, right-click the server that you want, and then click Properties.
 * 3) If the Type field is not set to Standard HTTP Server, this condition is not causing the error code.

If the Type field is set to Standard HTTP Server, go to step 4.
 * 1) Examine the Path setting to verify that the path of the .xml file and the .xml file name exist and are typed correctly.
 * 2) Examine the .xml file for invalid XML. To do this, open the .xml file by using a Web browser. The Web browser may report the line number and the column where the error occurred.

Keywords: kbexpertiseinter kbtshoot KB930711

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.