开发者

"Unable to open the Security Manager Database" Error while installing a windows service using service installer on Windows 7

I am on win 7 and trying to install a .NET windows service using the service installer. And get the error as shown in the pic. I thought Its becuase I was 开发者_如何学编程not admin on that machine and got that error. but then I used an admin account and got the same error. Any idea what could be the reason.

"Unable to open the Security Manager Database" Error while installing a windows service using service installer on Windows 7


Run your process elevated. Right click -> Run as administrator.

If you suspect the problem in the installer, it is easy to install service from command line. The command is

sc create <MyServiceName> binPath= <PathToServiceExe>

You will need to execute this command from elevated cmd window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜