Windows服务错误:Installog访问被拒绝 [英] Windows Service Error: Installog access is Denied

查看:1231
本文介绍了Windows服务错误:Installog访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到以下错误,同时通过命令提示符

I get following error while installing my Windows service through Command prompt

访问路径C:\ WINDOWS \ Microsoft.NET \框架\ V2.0.50727 \ InstallUtil.In stallLog'被拒绝。

Access to the path 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.In stallLog' is denied.

我使用下面的命令:

C:\Windows\Microsoft.NET\Framework\v2.0.50727>installutil.exe "C:\Hive-WindowsService\HiveBatchProcess\HiveBatchProcess\bin\Debug\HiveBatchProcess.exe" -i

什么地方出错了?

What could be wrong?

推荐答案

你有管理员权限?尝试通过启动命令提示符administartor运行该服务设置。

do you have administrator rights ? Try to run the service setup by launching the command prompt as administartor.

这篇关于Windows服务错误:Installog访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆