窗户服务安装 [英] window service installation

查看:78
本文介绍了窗户服务安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装窗口服务期间获取异常


找不到"System.Security.SecurityException"源,但是可以搜索部分或全部事件日志.无法访问的日志:安全性.


getting an exception during installation of a window service

as
"System.Security.SecurityException" the source was not found, but some or all event logs could be searched. Inaccessible logs : Scurity.


Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the D:\Deepak\CRMService\crm_Service\WindowsService1\bin\Debug\WindowsService1.exe assembly's progress.
The file is located at D:\Deepak\CRMService\crm_Service\WindowsService1\bin\Debug\WindowsService1.InstallLog.

An exception occurred during the Install phase.
System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.

The Rollback phase of the installation is beginning.
See the contents of the log file for the D:\Deepak\CRMService\crm_Service\WindowsService1\bin\Debug\WindowsService1.exe assembly's progress.
The file is located at D:\Deepak\CRMService\crm_Service\WindowsService1\bin\Debug\WindowsService1.InstallLog.

The Rollback phase completed successfully.

The transacted install has completed.







请帮助







please help

推荐答案

尝试以管理员身份运行安装应用程序(我认为您使用InstallUtil). 右键单击您正在使用的命令提示符的快捷方式,然后选择以管理员身份运行".
Try to run the install application (I think you use InstallUtil) as administrator.
Right-click on the shortcut to the command prompt you''re using, and choose "Run as administrator".


这篇关于窗户服务安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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