Microsoft KB Archive/930697

= Error message when you start an application in SoftGrid Client: &quot;A network operation did not complete in time. Error code: xxxxxx-xxxxxx0A-10000005&quot; =

Article ID: 930697

Article Last Modified on 9/13/2007

-

APPLIES TO


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

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you start an application in Microsoft SoftGrid Client, the operation is unsuccessful. Additionally, you receive the following error message:

The SoftGrid Client could not launch.

A network operation did not complete in time. Please check your network connection and try again. If the problem persists, please report the following error code to your System Administrator.

Error code: 0A-10000005

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

The SoftGrid client could not connect to stream URL ' :// : / / .sft' (FS status: 0A-10000005).

The client was unable to connect to a SoftGrid server (rc 0A-10000005)

Additionally, the following error code is logged in the SoftGrid Virtual Application Server log file (Sft-server.log):

41515 &quot;Invalid OPTIONS request: Invalid protocol version.&quot;

41515 &quot;Invalid OPTIONS request: Invalid query string.&quot;



CAUSE
This issue occurs if the following conditions are true:
 * The HREF path in the .osd file contains a space.
 * The ?Customer= element in the .osd file does not contain the question mark (?) or the equal sign (=) characters.
 * The SoftGrid Client timed out.



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

Method 1: Edit the HREF path in the .osd file
The HREF attribute of the CODEBASE element of the .osd file may contain a space. In this case, edit the .osd file by using a text editor such as Notepad to replace the space with %20.

For example, find the following text in the .osd file:

HREF=&quot;rtsp://%SFT_SOFTGRIDSERVER%:554/Softricity SFTs/DefaultApp.sft&quot;

Replace this text with the following text:

HREF=&quot;rtsp://%SFT_SOFTGRIDSERVER%:554/Softricity%20SFTs/DefaultApp.sft&quot;

Method 2: Edit the ?Customer= element in the .osd file
The ?Customer= element that is specified in the HREF attribute of the CODEBASE element of the .osd file may not contain the question mark (?) or the equal sign (=) characters. In this case, edit the .osd file by using a text editor such as Notepad to correct the syntax.

For example, find the following text in the .osd file:

HREF=&quot;rtsp://%SFT_SOFTGRIDSERVER%:554/DefaultApp.sftCustomerAnonymous&quot;

Replace this text with the following text:

HREF=&quot;rtsp://%SFT_SOFTGRIDSERVER%:554//DefaultApp.sft?Customer=Anonymous&quot;

Method 3: Modify the time-out interval value
By default, the SoftGrid Client ReadTimeout registry value is configured to be 20 seconds. You may have to increase this value.

Note The time-out interval should not exceed 30 seconds.

To modify the value, follow these steps.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.  Click Start, click Run, type regedit in the Open box, and then click OK. Expand the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid Client\CurrentVersion\Network

 Right-click ReadTimeout, and then click Modify. For Base, select Decimal. For Value data, type the number of seconds that you want, and then click OK. Exit Registry Editor.</li></ol>

Note You must restart the SoftGrid Client service for this change to take effect.

Keywords: kbtshoot kbexpertiseinter KB930697

-

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

© Microsoft Corporation. All rights reserved.