[RESOLVED] [2005] how i register mt windows service with windows XP
hi all
i have developed a windows service using vb.NET i am facing problem in registering it with windows XP i write this command in command prompt
D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>installutil "c:\mywinservice.exe"
after executing above command, a window named "Set Service Login" appears in which i give my user name and password
username= "Administrator"
password = ******
confirm password=******
after this, without completing registering process it gives message in command prompt that "installation failed and rolls back has been performed"
can any body please tell me about this problem.
regards
Re: [2005] how i register mt windows service with windows XP
I think you must be logged as local admin so service gets installed under "local account" and no user/pwd needs to be supplied.
Re: [2005] how i register mt windows service with windows XP
no! problem is not solved, i think there is some minor technicality is involved
Re: [2005] how i register mt windows service with windows XP
I had never had any issues installing Windows Service from command line under local admin so I don't know what the problem is. :confused:
Re: [2005] how i register mt windows service with windows XP
i found the accurate answer of my post, that all of the process working is good, i opened mywinserviceinstaller poperty and made theaccount type as "Local Service" that was "user" early, i just set the account property as local service only.
problem is closed