Microsoft KB Archive/931116

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 10:26, 21 July 2020 by X010 (talk | contribs) (Text replacement - ">" to ">")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


Error message when you start the SoftGrid Virtual Application Server service: "error code 41508"

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 "Invalid root path : <path>"

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:

  1. Start Registry Editor.
  2. Locate the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid Server\CurrentVersion

  3. Right-click SOFTRICITY_SOFTGRID_CONTENT_DIR, and then click Modify.
  4. Note the path of the content directory, and then click Cancel.
  5. 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:

  1. Determine the SoftGrid Virtual Application Server logon account. To do this, follow these steps:
    1. In Control Panel, open Administrative Tools, and then start Services.
    2. Right-click SoftGrid Virtual Application Server, and then click Properties.
    3. Click the Log On tab.
    4. 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.
    5. Exit Services.
  2. Make sure that the SoftGrid Virtual Application Server logon account has the Read permission to the content directory. To do this, follow these steps:
    1. Start Microsoft Windows Explorer.
    2. Locate the content directory.
    3. Right-click the content folder, and then click Properties.
    4. Click the Security tab.
    5. 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.
    6. Click OK, and then exit Windows Explorer.
  3. 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:
    1. Start Windows Explorer.
    2. Locate the content directory.
    3. Right-click the share, and then click Properties.
    4. Click the Sharing tab.
    5. 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.
    6. Click OK, and then exit Windows Explorer.


Keywords: kbtshoot kbexpertiseinter KB931116