The source was not found, but some or all event logs could not be searched

前端 未结 10 2180
栀梦
栀梦 2020-12-01 02:12

I am getting the following exception. I have given full control to Asp.net account on Eventlogs in Registry edit.

[SecurityException: The source was not

10条回答
  •  时光取名叫无心
    2020-12-01 03:06

    For me this error was due to the command prompt, which was not running under administrator privileges. You need to right click on the command prompt and say "Run as administrator".

    You need administrator role to install or uninstall a service.

提交回复
热议问题