VirtualBox

Changeset 70585 in vbox


Ignore:
Timestamp:
Jan 15, 2018 12:19:26 PM (7 years ago)
Author:
vboxsync
Message:

VirtualBoxClientImpl.cpp: Adjusted SDS diagnostic messages. Fixed incorrect hanging indent (on opening parenthesis).

File:
1 edited

Legend:

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

    r70296 r70585  
    206206            return setError(hrcCaller,
    207207                            tr("VBoxSDS is misconfigured to run under the '%ls' account instead of the SYSTEM one.\n"
    208                                "You can fix this by using the Windows Service Control Manager or by running\n"
    209                                "'qc config VBoxSDS obj=LocalSystem' on a command line."), wszBuffer);
     208                               "Reinstall VirtualBox to fix it.  Alternatively you can fix it using the Windows Service Control "
     209                               "Manager or by running 'qc config VBoxSDS obj=LocalSystem' on a command line."), wszBuffer);
    210210        if (uStartType == SERVICE_DISABLED)
    211211            return setError(hrcCaller,
    212212                            tr("The VBoxSDS windows service is disabled.\n"
    213                                "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."));
    215     }
     213                               "Reinstall VirtualBox to fix it.  Alternatively try reenable the service by setting it to "
     214                               " 'Manual' startup type in the Windows Service management console, or by runing "
     215                               "'sc config VBoxSDS start=demand' on the command line."));
     216    }
     217    else if (vrc == VERR_NOT_FOUND)
     218        return setError(hrcCaller,
     219                        tr("The VBoxSDS windows service was not found.\n"
     220                           "Reinstall VirtualBox to fix it.  Alternatively you can try start VirtualBox as Administrator, this "
     221                           "should automatically reinstall the service, or you can run "
     222                           "'VBoxSDS.exe --regservice' command from an elevated Administrator command line."));
    216223    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         }
    225224        LogRelFunc(("VirtualBoxClient::i_getServiceAccount failed: %Rrc\n", vrc));
    226     }
    227225# endif
    228226
     
    433431                        vrc = RTErrConvertFromWin32(dwError);
    434432                        LogRel(("Error: Failed querying '%ls' service config: %Rwc (%u) -> %Rrc; cbNeeded=%d cbNeeded2=%d\n",
    435                             pwszServiceName, dwError, dwError, vrc, cbNeeded, cbNeeded2));
     433                                pwszServiceName, dwError, dwError, vrc, cbNeeded, cbNeeded2));
    436434                    }
    437435                    RTMemTmpFree(pSc);
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