Microsoft KB Archive/931987

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


When you try to sequence Visio Viewer 2003 in Microsoft SoftGrid, Visio Viewer starts and then immediately shuts down

Article ID: 931987

Article Last Modified on 3/16/2007



APPLIES TO

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



SYMPTOMS

When you try to sequence Microsoft Visio Viewer 2003 in Microsoft SoftGrid, Visio Viewer starts and then immediately shuts down.

This problem may occur if Visio Viewer searches for specific registry keys only under the HKEY_CLASSES_ROOT subtree and not under the HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER subtrees.

CAUSE

When the sequence is finished, all registry keys and values that are located on the Virtual Registry tab under REGISTRY\MACHINE\SOFTWARE\CLASSES must be imported into the HKEY_CLASSES_ROOT subtree of the SoftGrid Client Virtual Registry when you start the application. In Visio Viewer, file type associations are sensitive to a trailing space. By default, the &Open command uses the following notation:

"%1" %*


However, Visio Viewer shuts down when it encounters the space between "%1" and %*.

RESOLUTION

You can modify the &Open command from the SoftGrid Management Console or from SoftGrid Client Management, depending on the environment. If you use the SoftGrid Management Console to modify the &Open command, the SoftGrid Client is updated when the Desktop Configuration is updated. To modify the &Open command, follow these steps:

  1. From Administrative Tools, start the SoftGrid Management Console or SoftGrid Client Management.
  2. Expand File Type Associations.
  3. Right-click the file type, and then click Properties.
  4. Click the Advanced tab.
  5. Select &Open, and then click Edit.
  6. In Parameters, change "%1" %* to "%1".
  7. Click OK two times, and then exit the SoftGrid Management Console or SoftGrid Client Management.


Keywords: kbhowto kbexpertiseinter KB931987