Error enabling LAN service

I am trying to enable the LAN service for my test database and I always get this error:

There was an error installing or starting the LAN service on this machine.
The error returned by Windows is: The specified service has been marked for deletion.




Answer this question

Error enabling LAN service

  • dPradeep

    Sorry, I forgot to mention I have the latest July CTP of VSS.

    And I do not have this Registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SSService.

    EDIT:
    I am testing VSS 2005 on a Windows 2000 Pro inside VPC 2004.


  • subir.talukder

    Hi Neo,

    There was a bug in the Beta2 version of the LAN service affecting the service registration. This caused the service not to startup.

    Can you use regedit.exe and look at the following registry value
    Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SSService
    key there should be a DependOnService value.
    If you've experienced the bug I'm thinking of, the value will contain some trash data, like "RpcSs[][][][][][][]" or similar. The correct value should be just "RpcSs".

    If that value is wrong, try editing and correcting it. The service should start after that by using "net start ssservice" command (you may need to restart the machine after editing the registry value).

    Alin


  • Alexandr Iacovlev

    Hi Neo,

    Can you try a manual registration of the service
    - open a command prompt window from the context of a user with Administrator rights.
    - go to VSS install folder and locate the SSService.exe program.
    - run "SSService /install" to register the service (that should create the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SSService registry key)
    - run "net start SSService" to start the service (if the service does not start, and the key was created, see if DependOnService value needs fixing, then try again starting the service)

    If that doesn't work, can you tell me exactly what the output of these commands is Also, can you tell me what's the output of this command "sc query ssservice"

    Thank you,
    Alin




  • Bamboo

    Thanks. Manually registering the service solved my problem.


  • Error enabling LAN service