Microsoft KB Archive/930641: Difference between revisions

From BetaArchive Wiki
m (Text replacement - "<" to "<")
m (Text replacement - ">" to ">")
 
Line 69: Line 69:
# Review the exit code in the '''SUCCESSRESULT=&quot;&quot;''' attribute.
# Review the exit code in the '''SUCCESSRESULT=&quot;&quot;''' attribute.
# Review the exit code in the '''ABORTRESULT=&quot;&quot;''' attribute.
# Review the exit code in the '''ABORTRESULT=&quot;&quot;''' attribute.
# Review the script code and the exit code in the '''<SCRIPTBODY&gt;''' element
# Review the script code and the exit code in the '''<SCRIPTBODY>''' element
# Save the .OSD file, and then exit the .OSD file.
# Save the .OSD file, and then exit the .OSD file.


The following is an example of the code from these steps:
The following is an example of the code from these steps:
<pre class="codesample"><DEPENDENCY&gt;
<pre class="codesample"><DEPENDENCY>
   <SCRIPT TIMING=&quot;PRE&quot; EVENT=&quot;LAUNCH&quot; PROTECT=&quot;TRUE&quot; WAIT=&quot;TRUE&quot;
   <SCRIPT TIMING=&quot;PRE&quot; EVENT=&quot;LAUNCH&quot; PROTECT=&quot;TRUE&quot; WAIT=&quot;TRUE&quot;
     TIMEOUT=&quot;10&quot; SUCCESSRESULT=&quot;n&quot; ABORTRESULT=&quot;n&quot;&gt;
     TIMEOUT=&quot;10&quot; SUCCESSRESULT=&quot;n&quot; ABORTRESULT=&quot;n&quot;>
     <SCRIPTBODY&gt;review script codes and exit codes here</SCRIPTBODY&gt;
     <SCRIPTBODY>review script codes and exit codes here</SCRIPTBODY>
   </SCRIPT&gt;
   </SCRIPT>
</DEPENDENCY&gt;</pre>
</DEPENDENCY></pre>


</div>
</div>

Latest revision as of 10:26, 21 July 2020

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