Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

letsencrypt.exe closes down unexpectedly #769

Closed
mtaylor90028 opened this issue Feb 27, 2018 · 3 comments
Closed

letsencrypt.exe closes down unexpectedly #769

mtaylor90028 opened this issue Feb 27, 2018 · 3 comments

Comments

@mtaylor90028
Copy link

mtaylor90028 commented Feb 27, 2018

Issue description

On a Windows 10 Pro machine, I compiled the project in Visual Studio 10. I ran the exe "letsencrypt.exe" from the bin\Debug folder. It opens very quickly with an error then closes. Any ideas to why I cannot get it to remain open?

Error:
Error while creating logger: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. - at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate)
at System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate)
at Serilog.Sinks.EventLog.EventLogSink.ConfigureSource(EventLog log, String source)
at Serilog.LoggerConfigurationEventLogExtensions.EventLog(LoggerSinkConfiguration loggerConfiguration, String source, String logName, String machineName, Boolean manageEventSource, String outputTemplate, IFormatProvider formatProvider, LogEventLevel restrictedToMinimumLevel)
at PKISharp.WACS.Services.LogService..ctor() in C:\Users\mtaylor\Downloads\Let's Encrypt\source\win-acme-master\letsencrypt-win-simple\Services\LogService.cs:line 41

@ghost
Copy link

ghost commented Feb 27, 2018

Had same issue, figured it out: It wants to run as admin.

@dwilbanks
Copy link

I was able to solve this problem by running as adminitrator

@WouterTinus
Copy link
Member

Yes the application manifest was missing for some reason. 1.9.10 and hopefully above will automatically try/ask to run as admin again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants