Microsoft KB Archive/930641

From BetaArchive Wiki
Knowledge Base


Error message when you try to start an application in Microsoft SoftGrid: "Error code: xxxxxx-xxxxxx18-000000FF"

Article ID: 930641

Article Last Modified on 3/29/2007



APPLIES TO

  • Microsoft SoftGrid for Terminal Services
  • Microsoft SoftGrid for Windows Desktops



SYMPTOMS

When you try to start an application in Microsoft SoftGrid, you receive the following error message:

The SoftGrid Client could not launch {application_name}.
A script failed to return the expected result. Please report the following error code to your System Administrator.
Error code: xxxxxx-xxxxxx18-000000FF

CAUSE

If the SUCCESSRESULT attribute of the SCRIPT element in the .OSD file is set, the script in the .OSD file must perform the following tasks:

  • Successfully finish
  • Return an exit code

If the script in the .OSD file does not perform these tasks, the application is unsuccessful and you receive an error message.

RESOLUTION

To resolve this issue, follow these steps:

  1. Open the .OSD file in a text editor.
  2. Review the exit code in the SUCCESSRESULT="" attribute.
  3. Review the exit code in the ABORTRESULT="" attribute.
  4. Review the script code and the exit code in the <SCRIPTBODY> element
  5. Save the .OSD file, and then exit the .OSD file.

The following is an example of the code from these steps:

<DEPENDENCY>
  <SCRIPT TIMING="PRE" EVENT="LAUNCH" PROTECT="TRUE" WAIT="TRUE"
    TIMEOUT="10" SUCCESSRESULT="n" ABORTRESULT="n">
    <SCRIPTBODY>review script codes and exit codes here</SCRIPTBODY>
  </SCRIPT>
</DEPENDENCY>

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

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


Keywords: kbexpertiseinter kbtshoot KB930641