Microsoft KB Archive/931813

= Description of the known application-specific sequencing issues that occur when you use Visio together with the SoftGrid Client =

Article ID: 931813

Article Last Modified on 3/23/2007

-

APPLIES TO


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

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



INTRODUCTION
This article describes the known application-specific sequencing issues that occur when you use Microsoft Visio together with the SoftGrid Client. This article also describes methods to prevent or to resolve these issues.



Issue 1: When Microsoft Windows Installer is started on the SoftGrid Client, the Windows Installer dialog box is randomly displayed
To prevent this issue, use one of the following methods:
 * In the Customize Visio Configuration screen of the Microsoft Visio Setup Wizard, click either Run from My Computer or Not Available for each available feature. Do not click Install on First Use.
 * In the Additional Files to Map to the VFS screen of the SoftGrid Sequencer Installation Wizard, add the .msi file. To do this, follow these steps:
 * Click Add.
 * Locate and then open the \Visio.msi file.
 * Continue sequencing.

Issue 2: Every time you start Visio on the SoftGrid Client, the Activation Wizard is displayed
To prevent this issue, use one of the following methods:
 * Use a product key that disables activation.
 * Apply Microsoft Visio 2002 Service Pack 2 during the Installation Wizard process.

Issue 3: The Visio directory cache is not built the first time that Visio is started
The first time that Visio is started for each user, the Visio.bin directory cache file is created in the following location:

%UserProfile%\Local Settings\Application Data\Microsoft\Visio

To force the Visio directory cache to be built when Visio is started for the first time, use one of the following methods:  Use the latest version of the SoftGrid Sequencer. By default, the latest SoftGrid Sequencer excludes the &quot;%UserProfile%\Local Settings&quot; directory. Add the following directory to the SoftGrid Sequencer as an exclusion item:

%CSIDL_PROFILE%\Local Settings

To do this, follow these steps:  In the SoftGrid Sequencer, click Tools, and then click Options. Click the Exclusion Items tab. In the Exclude Path column, locate %CSIDL_PROFILE%\Local Settings.

Depending on the version of the SoftGrid Sequencer that you are running, this directory may exist by default. If it does exist, this issue does not apply. You can safely ignore the rest of these steps.

If this directory does not exist, go to step 4. Click New. In the Exclude Path box, type %CSIDL_PROFILE%\Local Settings .</li> In the Mapping Type box, click VFS.</li> Click OK.</li> Click Save As Default, and then click OK.</li> Sequence Visio.</li></ol> </li> Set the BuiltDirectoryCache registry value to &quot;0.&quot; To do this, follow these steps.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. <ol> In the SoftGrid Sequencer, click the Virtual Registry tab.</li> Expand the following registry key:

REGISTRY\USER\%SFT_MNT%\Software\Microsoft\Visio\application

</li> Double-click BuiltDirectoryCache.</li> In the Value Data box, type 0, and then click OK.</li></ol> </li></ul>

Issue 4: An instance of Microsoft Outlook that is locally installed on the SoftGrid Client displays an error message from Visio
You exit an instance of Outlook that is locally installed on the SoftGrid Client. You do this after you use the &quot;Mail Recipient&quot; feature in Outlook.

Note To access the &quot;Mail Recipient&quot; feature, create a new message in Outlook, click Send To on the File menu, and then click Mail Recipient.

When you do this, Outlook displays an error message from Visio.

To prevent Outlook from displaying this error message, add the <LOCAL_INTERACTION_ALLOWED> element to the .osd file between the <POLICIES> and </POLICIES> elements. Make sure that the <LOCAL_INTERACTION_ALLOWED> element is set to TRUE. An example of this code is as follows. <VIRTUALENV> <POLICIES> <LOCAL_INTERACTION_ALLOWED>TRUE</LOCAL_INTERACTION_ALLOWED> </POLICIES> </VIRTUALENV>

Issue 5: When Visio is started on the SoftGrid Client, Visio closes unexpectedly
When Visio is started on the SoftGrid Client, Visio closes unexpectedly. Additionally, you receive the following error message:

This application is not configured for this operating system

Additionally, the following events may be logged: Event ID: 59

Source: SideBySide

Type: Error

Description: &quot;Generate Activation Context failed for %CommonProgramFiles%\Microsoft Shared\office11\mso.dll. Reference error message: The system cannot find the path specified.&quot;

Event ID: 59

Source: SideBySide

Type: Error

Description: &quot;Resolve Partial Assembly failed for Microsoft.Windows.Common-Controls. Reference error message: The system cannot find the path specified.&quot;

To prevent this issue, upgrade the SoftGrid Client to the latest version.

You may be unable to upgrade. In this case, to work around this issue, create the following directories locally on the SoftGrid Client:
 * %CommonProgramFiles%\Microsoft Shared\Office11
 * %CommonProgramFiles%\System\MSMAPI\1033

You can create these directories manually or by using a &quot;PRE LAUNCH&quot; script in the .osd file.

Note The user who starts the application must have the file permissions that are required to create the directories.

An example of the code that is used to create these directories is as follows. <DEPENDENCY> <SCRIPT TIMING=&quot;PRE&quot; EVENT=&quot;LAUNCH&quot; PROTECT=&quot;FALSE&quot; WAIT=&quot;TRUE&quot;> <HREF> %SystemRoot%\system32\cmd.exe /c md &quot;%CommonProgramFiles%\Microsoft Shared\Office11&quot; </HREF> </SCRIPT> <SCRIPT TIMING=&quot;PRE&quot; EVENT=&quot;LAUNCH&quot; PROTECT=&quot;FALSE&quot; WAIT=&quot;TRUE&quot;> <HREF> %SystemRoot%\system32\cmd.exe /c md &quot;%CommonProgramFiles%\System\MSMAPI\1033&quot; </HREF> </SCRIPT> </DEPENDENCY>

Keywords: kbexpertiseinter kbhowto KB931813

-

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

© Microsoft Corporation. All rights reserved.