Microsoft KB Archive/931116

= Error message when you start the SoftGrid Virtual Application Server service: &quot;error code 41508&quot; =

Article ID: 931116

Article Last Modified on 3/23/2007

-

APPLIES TO


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

-



SYMPTOMS
When you start the SoftGrid Virtual Application Server service, you receive the following error message:

Windows could not start the SoftGrid Virtual Application Server on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 41508.

Additionally, the following event is logged in the System log: Event ID: 7024

Source: Service Control Manager

Type: Error

Description: The SoftGrid Virtual Application Server service terminated with service-specific error 41508.

The following message is logged in the SoftGrid Virtual Application Server log file (Sft-server.log):

41508 &quot;Invalid root path : &quot;



CAUSE
This problem occurs if one of the following conditions is true:
 * The path of the content directory is not valid.
 * The SoftGrid Virtual Application Server logon account does not have the appropriate permissions to the content directory.

By default, the path of the content directory is as follows:

%ProgramFiles%\Softricity\SoftGrid Server\content

The path of the content directory is configured in the local registry of SoftGrid Virtual Application Server and in the SoftGrid database. When the SoftGrid Virtual Application Server service starts, the SoftGrid Virtual Application Server service tries to connect to the path that is configured in the registry. If the SoftGrid Virtual Application Server service cannot connect, the SoftGrid Virtual Application Server service tries to connect to the path that is configured in the SoftGrid database. If the SoftGrid Virtual Application Server service cannot connect again, the SoftGrid Virtual Application Server service does not start.

By default, the SoftGrid Virtual Application Server logon account is the Local System (SYSTEM) account. The SoftGrid Virtual Application Server logon account requires the Read permission to the content directory. If the path of the content directory is a Universal Naming Convention (UNC) path, the SoftGrid Virtual Application Server logon account requires the Read permission to the share. If the SoftGrid Virtual Application Server logon account does not have the appropriate permissions, the SoftGrid Virtual Application Server service does not start.



RESOLUTION
To resolve this problem, use one of the following methods.

Method 1
Make sure that the path of the content directory is valid. To do this, follow these steps:  Start Registry Editor. Locate the following registry subkey:

 Right-click SOFTRICITY_SOFTGRID_CONTENT_DIR, and then click Modify. Note the path of the content directory, and then click Cancel. Exit Registry Editor.

Method 2
Make sure that the SoftGrid Virtual Application Server logon account has the appropriate permissions to the content directory. To do this, follow these steps:  Determine the SoftGrid Virtual Application Server logon account. To do this, follow these steps:  In Control Panel, open Administrative Tools, and then start Services.</li> Right-click SoftGrid Virtual Application Server, and then click Properties.</li> Click the Log On tab.</li> If This account is selected under Log on as, note the account that is specified in the This account box.

If Local System account is selected under Log on as, the SoftGrid Virtual Application Server logon account is the Local System (SYSTEM) account.

Note If Local System account is selected under Log on as and if the content directory is local to SoftGrid Virtual Application Server, use the Local System (SYSTEM) account when you grant permissions. If the content directory is a UNC path, use the SoftGrid Virtual Application Server local computer account when you grant permissions.</li> Exit Services.</li></ol> </li> Make sure that the SoftGrid Virtual Application Server logon account has the Read permission to the content directory. To do this, follow these steps:  Start Microsoft Windows Explorer.</li> Locate the content directory.</li> Right-click the content folder, and then click Properties.</li> Click the Security tab.</li> Make sure that the account that you determined in step 1 has the Read permission.

If the account does not have the Read permission, click to select the Allow check box.</li> Click OK, and then exit Windows Explorer.</li></ol> </li> If the path of the content directory is a UNC path, make sure that the SoftGrid Virtual Application Server logon account has the Read permission to the share. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Start Windows Explorer.</li> <li>Locate the content directory.</li> <li>Right-click the share, and then click Properties.</li> <li>Click the Sharing tab.</li> <li>Make sure that the account that you determined in step 1 has the Read permission to the share.

If the account does not have the Read permission, click Permissions, and then click to select the Allow check box for the Read permission.</li> <li>Click OK, and then exit Windows Explorer.</li></ol> </li></ol>

Keywords: kbtshoot kbexpertiseinter KB931116

-

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

© Microsoft Corporation. All rights reserved.