Microsoft KB Archive/930694

= Error message when you try to start a SoftGrid program: &quot;The SoftGrid Client could not launch. Error code: 18-0000000&quot; =

Article ID: 930694

Article Last Modified on 3/23/2007

-

APPLIES TO


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

-



SYMPTOMS
When you try to start a Microsoft SoftGrid program, the program does not start. Additionally, you receive the following error message:

The SoftGrid Client could not launch.

A script failed to return the expected result. Please report the following error code to your System Administrator.

Error code: 18-0000000



CAUSE
This issue occurs when the script in the .osd file returns an unexpected exit code.



RESOLUTION
To resolve this issue, first verify that the SUCCESSRESULT and ABORTRESULT attributes of the SCRIPT element in the .osd file are set, and verify that the SUCCESSRESULT attribute is not null. To do this, follow these steps:   Open the .osd file by using a text editor such as Notepad. A sample section of an .osd file is as follows.   review script and exit codes here    Review the exit codes in the SUCCESSRESULT=&quot;&quot; and ABORTRESULT=&quot;&quot; attributes. Review the script and exit codes between the  and </SCRIPTBODY> elements.</li> Save and then exit the .osd file.</li></ol>

If the SUCCESSRESULT and ABORTRESULT attributes of the SCRIPT element in the .osd file are set, and if the SUCCESSRESULT attribute is not null, the script must return an exit code that is expected by those attributes. Otherwise, the program will not start, and it will generate an error code.

The error code will be in the 18-0000000  format. In this format,  is a placeholder for the exit code.

For example, if the exit code is 0, the error code is 18-00000000. If the exit code is 1, the error code is 18-00000001, and so on.

After you have verified these attributes, use the procedure that is described in the following article in the Microsoft Knowledge Base to resolve the issue:

930973 How to fail or abort an application launch on script failure

Keywords: kbexpertiseinter kbtshoot KB930694

-

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

© Microsoft Corporation. All rights reserved.