VirtualBox

Changeset 70296 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Dec 21, 2017 10:55:06 PM (7 years ago)
Author:
vboxsync
Message:

VBoxSDS: ​​​​bugref:3300: added error description if VBoxSDS deleted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/VirtualBoxClientImpl.cpp

    r69806 r70296  
    212212                            tr("The VBoxSDS windows service is disabled.\n"
    213213                               "To reenable the service, set it to 'Manual' startup type in the Windows Service\n"
    214                                "management console, or run 'sc config VBoxSDS start=demand' on a command line"));
     214                               "management console, or run 'sc config VBoxSDS start=demand' on a command line."));
    215215    }
    216216    else
     217    {
     218        if (vrc == VERR_NOT_FOUND)
     219        {
     220            return setError(hrcCaller,
     221                tr("The VBoxSDS windows service doesn't exist, needs to reinstall it.\n"
     222                    "To do this, start VirtualBox as Administrator, this automatically reinstall the service,"
     223                    "or run 'VBoxSDS.exe --regservice' command from Administrator console."));
     224        }
    217225        LogRelFunc(("VirtualBoxClient::i_getServiceAccount failed: %Rrc\n", vrc));
     226    }
    218227# endif
    219228
     
    423432                        int dwError = GetLastError();
    424433                        vrc = RTErrConvertFromWin32(dwError);
    425                         LogRel(("Error: Failed querying service config: %Rwc (%u) -> %Rrc; cbNeeded=%d cbNeeded2=%d\n",
    426                                 dwError, dwError, vrc, cbNeeded, cbNeeded2));
     434                        LogRel(("Error: Failed querying '%ls' service config: %Rwc (%u) -> %Rrc; cbNeeded=%d cbNeeded2=%d\n",
     435                            pwszServiceName, dwError, dwError, vrc, cbNeeded, cbNeeded2));
    427436                    }
    428437                    RTMemTmpFree(pSc);
     
    445454            int dwError = GetLastError();
    446455            vrc = RTErrConvertFromWin32(dwError);
    447             LogRel(("Error: Could not open service: %Rwc (%u) -> %Rrc\n", dwError, dwError, vrc));
     456            LogRel(("Error: Could not open service '%ls': %Rwc (%u) -> %Rrc\n", pwszServiceName, dwError, dwError, vrc));
    448457        }
    449458        CloseServiceHandle(hSCManager);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette