This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Error 1920 Service '[2]' ([3]) failed to start. Verify that you have sufficie
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 03, 2009
08:02 AM
Error 1920 Service '[2]' ([3]) failed to start. Verify that you have sufficie
Hi,
I install a own NT service durring the setup. This works fine.
But the entry Control NT Services -> .... -> Install Start = Yes to start the just install service, leads to the error with the error code 1920. In your knowledge base you offere 3 suggestion to solve that error:
Resolution A. use internal name ==> I do
Resolution B. check dependcies ==> my service doesn't depend on other services
Resolution C. verify that the right user is logged on ==> I am logged on as administrator with all privilege rights
Can somebody tell me, what's the reason for the described problem / error 1920.
And how I can solve it.
Thanks for your fast answer in advance.
I install a own NT service durring the setup. This works fine.
But the entry Control NT Services -> .... -> Install Start = Yes to start the just install service, leads to the error with the error code 1920. In your knowledge base you offere 3 suggestion to solve that error:
Resolution A. use internal name ==> I do
Resolution B. check dependcies ==> my service doesn't depend on other services
Resolution C. verify that the right user is logged on ==> I am logged on as administrator with all privilege rights
Can somebody tell me, what's the reason for the described problem / error 1920.
And how I can solve it.
Thanks for your fast answer in advance.
(20) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 03, 2009
12:30 PM
What a greate tool is this InstallShield! --- And even much better as this tool is the support of that amazing software vendor named Acressor! :mad: :mad: :mad:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2009
09:10 AM
What are your other service settings? For example, are you installing to the LocalSystem account or to the administrator account? Normally even the Administrator account does not have the log-on-as-service privilege...
(As an aside, these forums are intended primarily as user-to-user support. Please click the "Service-Level Agreement" link at the bottom of any page for more information and options.)
(As an aside, these forums are intended primarily as user-to-user support. Please click the "Service-Level Agreement" link at the bottom of any page for more information and options.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 07, 2009
01:11 PM
I started the setup as administrator. Therefore all rights are present!
What other settings do you exactly need to know?
What other settings do you exactly need to know?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 07, 2009
02:37 PM
Have you tried to install and run the service on the command line.
Does this work ?
Normally if you develop a service you also implement the options to install/uninstall on the command line.
Does this work ?
Normally if you develop a service you also implement the options to install/uninstall on the command line.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 07, 2009
02:43 PM
ThePerfectWave wrote:
Resolution B. check dependcies ==> my service doesn't depend on other services
But does your service executable have dependencies (on DLLs, for example) that aren't being deployed in your project?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
04:12 AM
@MarkusLatz:
--------------
Yes I did.
- My service can be install / uninstall with a command line argument /I and /U. And this works.
Also the Service Installation with the InstallShield works. The problme is, that setting "Install Start" (in Control NT Services) to Yes doesn't work.
It doesn't start my new and correct installed service.
@DanGalender:
---------------
My Service doesn't depend on other services.
--------------
Yes I did.
- My service can be install / uninstall with a command line argument /I and /U. And this works.
Also the Service Installation with the InstallShield works. The problme is, that setting "Install Start" (in Control NT Services) to Yes doesn't work.
It doesn't start my new and correct installed service.
@DanGalender:
---------------
My Service doesn't depend on other services.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
04:17 AM
Only for my mind:
Your setup installs the service, but receive an error message trying to start.
If you afterwards try to start the installed service interactively it works ?
Your setup installs the service, but receive an error message trying to start.
If you afterwards try to start the installed service interactively it works ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
04:22 AM
That's exactly the case.
What can be the reason for that problem? What can I try, change.... ?
What can be the reason for that problem? What can I try, change.... ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
04:36 AM
Now I created a complelte new Setup-project.
This new Setup-project just contains, the installation of
my service.
And in "Control NT Services" a event with the setting
"Install Start" = Yes.
I run this new setup as Admininstrator. And I receive the same Error with
the error number 1920.
This is a very simple Setup-project, containing no trash no other task .....
This should work....
This new Setup-project just contains, the installation of
my service.
And in "Control NT Services" a event with the setting
"Install Start" = Yes.
I run this new setup as Admininstrator. And I receive the same Error with
the error number 1920.
This is a very simple Setup-project, containing no trash no other task .....
This should work....
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
04:50 AM
I had this problem long time ago. And it was a problem of the local policy "Log on as a service". Add the user account under which the service later run. If it is local system add the system user.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
05:06 AM
Thanks for that fast answer.
Where do I have to add the user.
"NT Services" -> User Name ?
I tried this, but it didn't work.
Where do I have to add the user.
"NT Services" -> User Name ?
I tried this, but it didn't work.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
05:12 AM
You have to add this in the local security policy. Under which OS do you try ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
05:29 AM
Try to start your service in command box after installation:
net start yourServiceName
net start yourServiceName
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
05:57 AM
@MarkusLatz
XP Embbeded Standard 2009
@Roman1
Sure this works. But I want to start it within the IS-Setup. So that the other applications, comming with this service, and using this service, can be started right after the installation.
XP Embbeded Standard 2009
@Roman1
Sure this works. But I want to start it within the IS-Setup. So that the other applications, comming with this service, and using this service, can be started right after the installation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
06:38 AM
Hhm, I never used "XP Embbeded Standard 2009". But you can start a new task (with start->run or in cmd-window) "mmc". In this console open the template \system32\secpol.msc. On the right side you should see the "Log on as a service" policy. Doubleclick -> Add User or Group. There you can add the user account under which the service should run. For test purpose try to add also LOCAL SERVICE, SERVICE and SYSTEM.
In case of my problem I had, my service run under a special local account (de\ml12bel) so I added this account and after it works.
In case of my problem I had, my service run under a special local account (de\ml12bel) so I added this account and after it works.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
06:44 AM
@Roman1
Thank you for the link to the thread, that's what I'm talking about.
Thank you for the link to the thread, that's what I'm talking about.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 11, 2009
12:18 PM
Thanks for all your answers.
But unfortunatly no one of those both solution are practicable for my project. Sicne we can't tell our customers, first to do that changes with the "mmc - secpol.msc" manually.
Also I can't use the solution with that new NT-tool. If I would include that NT tool into my setup and do the corresponding call from a IS-script and if it would work, I am not sure by I think we will run into a copyright protection problem, with delivering Microsoft-NT-tools, with our setup.
Now I wrote an own DLL, wich I call from a user script. In my DLL I grab the SCM and start herewith the service. This work fine durring the installation. But the resultion problem is:
http://community.acresso.com/showthread.php?p=444735#post444735
since I don't now, how to suppress the call of my user-script, durring the uninstallation.
Any hints ? :confused: :confused:
Thanks in advance.
But unfortunatly no one of those both solution are practicable for my project. Sicne we can't tell our customers, first to do that changes with the "mmc - secpol.msc" manually.
Also I can't use the solution with that new NT-tool. If I would include that NT tool into my setup and do the corresponding call from a IS-script and if it would work, I am not sure by I think we will run into a copyright protection problem, with delivering Microsoft-NT-tools, with our setup.
Now I wrote an own DLL, wich I call from a user script. In my DLL I grab the SCM and start herewith the service. This work fine durring the installation. But the resultion problem is:
http://community.acresso.com/showthread.php?p=444735#post444735
since I don't now, how to suppress the call of my user-script, durring the uninstallation.
Any hints ? :confused: :confused:
Thanks in advance.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 11, 2009
12:45 PM
(Follow-up of sorts [post=444738]here[/post].)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 12, 2009
04:29 AM
@ThePerfectWave:
Your problem was:
"Can somebody tell me, what's the reason for the described problem / error 1920."
and the community gives you a hint why you got the error message and how to solve.
It's your work to include in your installshield project. And if you are a professional developer it's 15-30 minutes work to make a DLL in Visual Studio with use of SDK's from Microsoft.
Your problem was:
"Can somebody tell me, what's the reason for the described problem / error 1920."
and the community gives you a hint why you got the error message and how to solve.
It's your work to include in your installshield project. And if you are a professional developer it's 15-30 minutes work to make a DLL in Visual Studio with use of SDK's from Microsoft.