Could not start Windows Service, Error 1064

Thanks to @Siderite Zackwehdex’s comment, I was able to find the full stack trace of the underlying exception in EventViewer, under:

Windows Logs\Application

In my case, my service is named “HttpDispatcher”, which appears in the “Source” column in the top pane.

I could see immediately it was due to a dependency issue where my .NET 4.7.2 project was not pulling across my .NET Standard references. (That ol’ chestnut).

Event Viewer: Windows Logs/Application

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)