Error 1067 when attempting to install a windows service application

0

I'm attempting to install a windows service application i completed. This runs fine in debug mode calling onstart(null) just fine, but when removing debug code and attempting to install this as a system service im' greeted with the error:

Windows could not start the "name" service on local computer.

Error 1067: The process terminated unexpectedly.

Any ideas here? Any help is much appreciated!

In event viewer i am given this callstack:

General:

Faulting application name: app.exe, version: 1.0.0.0, time stamp: 0x5cb4a9b6
Faulting module name: clr.dll, version: 4.7.3324.0, time stamp: 0x5c09b96d
Exception code: 0xc00000fd
Fault offset: 0x004550dd
Faulting process id: 0x16a4
Faulting application start time: 0x01d4f3a4188a8e5c
Faulting application path: D:\Applications\Services\app\app.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: 567c2240-5f97-11e9-810e-005056a5f4a4
Faulting package full name: 
Faulting package-relative application ID: 

Details:

- System 

  - Provider 

   [ Name]  Application Error 

  - EventID 1000 

   [ Qualifiers]  0 

   Level 2 

   Task 100 

   Keywords 0x80000000000000 

  - TimeCreated 

   [ SystemTime]  2019-04-15T15:58:41.000000000Z 

   EventRecordID 151010 

   Channel Application 

   Computer <PC NAME> 

   Security 


- EventData 

   app.exe 
   1.0.0.0 
   5cb4a9b6 
   clr.dll 
   4.7.3324.0 
   5c09b96d 
   c00000fd 
   004550dd 
   16a4 
   01d4f3a4188a8e5c 
   D:\Applications\Services\PMCMAutoSanitizer\PMCMAutoSanitizer.exe 
   C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll 
   567c2240-5f97-11e9-810e-005056a5f4a4 

I have tried many things, including forcing a full uninstall of the application and cleanup of the registry service tree, reboot and re-installation. I even tried starting the app from powershell to see the output which didn't provide me with much either.

Any help is appreciated.

c#
service
installation
asked on Stack Overflow Apr 15, 2019 by Kevin Henzel • edited Apr 15, 2019 by vik_78

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0