Microsoft Knowledge Base Email Alertz

KBAlertz.com: (931116) - When starting the SoftGrid Virtual Application Server service, why does it fail with the following message: Windows could not start the SoftGrid Virtual Application Server on Local Computer. For more information, review the System Event Log. If...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 931116 - Last Review: March 23, 2007 - Revision: 1.2

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

On This Page

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.

APPLIES TO
  • Microsoft SoftGrid for Terminal Services
  • Microsoft SoftGrid for Windows Desktops
Keywords: 
kbtshoot kbexpertiseinter KB931116
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please