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

Service Crashes at start if used Neo-ConfuserEx #67

Open
amoltarte opened this issue Feb 10, 2021 · 2 comments
Open

Service Crashes at start if used Neo-ConfuserEx #67

amoltarte opened this issue Feb 10, 2021 · 2 comments

Comments

@amoltarte
Copy link

Describe the bug
I have a Windows Service.
I build it in release mode and obfuscate it using Neo-ConfuserEx.
The service installs but fails to start.

Settings as below...

Expected behavior
Service should start as if it is not obfuscated.

Screenshots
Neoconfuser1

Neoconfuser2

@Scortchhh
Copy link

can you check if its a fatal error, in windows event viewer?

@amoltarte
Copy link
Author

Yes. There is an error in Event Viewer.

Application Log

Service cannot be started. System.NullReferenceException: Object reference not set to an instance of an object.
at ‍‌‎‮‌‪‎‬‮‏‍‌‎‪‫​‎‍‮‌​‫‪‮.‮‮‮‪‏‫‫​‍‭‏‪‬‏‌‮‮‌‏‫​‎‫‌‮()
at System.ServiceProcess.ServiceBase.DeferredStop()
at ‍‌‎‮‌‪‎‬‮‏‍‌‎‪‫​‎‍‮‌​‫‪‮.​‏‏‫‍‪‪‪‮‌‪‎‭‏‌‪‪‍‮‍‮​‮‬‌‮(String[] )
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

System

The LogicMoCCH24 service terminated with the following error:
An exception occurred in the service when handling the control request.

I know what "Object Reference Not Set To An Instance" means, but these errors are not thrown if not Obfuscated.

Please help... let me know if any additional steps are needed to change in code to use obfuscation (Neo-Obfuscator)
I am desperately in need.

--

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

2 participants