English 中文(简体)
系统:安全。 来文方没有找到,但一些或所有的事件记录都无法搜索。 出入记录:安全
原标题:System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security

I am trying to install an application named: "SQLScheduler" from here: http://www.lazycoding.com/products.aspx But when I install the service I get this error :

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

是否有任何帮助?

感谢

问题回答

I know this isn t an answer to the question itself, but stackoverflow won t let me comment on others answers yet, and I wanted this information in here because it will be useful to people who may have found this post like I did, searching for this error. The reason the BCL is throwing a Security Exception instead of a UnauthorizedAccessException is because what the non-admin security level is insufficient for is writing to the Application Event log, not for the installation in general.

令人惊讶的是,这给你带来了问题,谢里夫,因为当你重新安装时,显然还有其他问题。 我建议尝试尼科尔的后续建议,与工具提供商联系。

如果安装期间出现这种情况,你很可能需要安装作为行政管理用户。 (本案中的错误例外类型正被《刑法》推翻。) 它应当是未经许可的AccessException,而不是安全Exception。

我知道我很晚才来到这里,但我有同样的错误,并找到你的信息。

在试图通过InstallUtil方案安装我的服务时,我收到了这一服务。 我的解决方法是,以“卢旺达作为署长”迅速指挥,这确实是trick。

Hope this helps someone.





相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

.deb package conffiles problem

I am distributing one of my applications using a .deb package, but have a problem relating to one of the files. The distribution includes a database file which is constantly updated by the app, on a ...

Closing an application using WiX

In creating my WiX installer I have run into an issue when trying to close an application before installing the upgrade. Below is an example of how I am attempting to do this. <util:...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

configsource and installer

I have an project csproj, with app.config file, and logging Ent.Library section using configsource attribute. The logging section is in ahother file Configloggingconfiguration.config. I have a ...

热门标签