Microsoft KB Archive/930715

From BetaArchive Wiki

Article ID: 930715

Article Last Modified on 3/12/2007



APPLIES TO

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



SYMPTOMS

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

The SoftGrid Client could not launch {application_name}.
Cannot create a file when that file already exists.
Error code: xxxxxx-xxxxxx32-000000B7

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

corrupt cp file detected ('{%SFT_MNT%}\{Package Root Directory}\osguard.cp'). osguard cp file, NO CORRECTIVE ACTION TAKEN
The client could not launch {path}\{filename} (rc xxxxxx32-000000B7, last error 2).
Error ( 0x3ED ) moving staged settings file ( {%SFT_MNT%}\\{suite}\settings.cp.temp )

CAUSE

This problem may occur if the application VM value is set to Win32 and not to Win16.

The application VM value is specified by the VALUE attribute of the VM element in the .osd file. If the file name that is specified in the FILENAME attribute of the CODEBASE element is a console application and if the VALUE attribute of the VM element is Win32, an error occurs.

RESOLUTION

To correct this problem, use a text editor or the SoftGrid Sequencer to update the .osd file.

How to use a text editor to update the .osd file

  1. Open the .osd file by using a text editor, such as Notepad.
  2. Type Win16 for the VALUE="" attribute of the VM element as shown in the following example.

     
    <SOFTPKG>
      <IMPLEMENTATION>
        <VM VALUE="Win16">
          <SUBSYSTEM VALUE="console"/>
        </VM>
      </IMPLEMENTATION>
    </SOFTPKG>
  3. Save the .osd file, and then exit the text editor.

How to use the SoftGrid Sequencer to update the .osd file

Open the sequence with the SoftGrid Sequencer, and then use the OSD tab to update the VALUE attribute of the VM element.

  1. Copy the sequence to the sequencing station.
  2. Start the SoftGrid Sequencer.
  3. Click File, click Open, and then open the sequence.
  4. Click the OSD tab.
  5. From the list, select the application to update.
  6. Expand SOFTPKG, expand IMPLEMENTATION, and then click VM.
  7. For the VALUE Value option, click Win16.
  8. Click File, and then click Save.
  9. Copy the updated .osd file to the SoftGrid Virtual Application Server.


Important Copy only the updated .osd file. Do not copy the following files:

    • .ico files
    • .sft files
    • .sprj files
    • Other .osd files.


Keywords: kbtshoot kbexpertiseinter KB930715