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

Ghelper wont run #3480

Closed
Priboiii opened this issue Dec 13, 2024 · 2 comments
Closed

Ghelper wont run #3480

Priboiii opened this issue Dec 13, 2024 · 2 comments
Labels
question Further information is requested

Comments

@Priboiii
Copy link

ghelper used to run perfectly fine since i downloaded it but from yesterday it wont open at all.

This is what it says in event viewer:

Application: GHelper.exe
CoreCLR Version: 8.0.1024.46610
.NET Version: 8.0.10
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException: The type initializer for 'GHelper.Program' threw an exception.
---> System.TypeInitializationException: The type initializer for 'Microsoft.Win32.TaskScheduler.TaskService' threw an exception.
---> System.Runtime.InteropServices.COMException (0x80070032): The request is not supported. (0x80070032)
at Microsoft.Win32.TaskScheduler.V2Interop.ITaskService.Connect(Object serverName, Object user, Object domain, Object password)
at Microsoft.Win32.TaskScheduler.TaskService.Connect()
at Microsoft.Win32.TaskScheduler.TaskService..ctor()
at Microsoft.Win32.TaskScheduler.TaskService.get_Instance()
at Microsoft.Win32.TaskScheduler.TaskService..cctor()
--- End of inner exception stack trace ---
at Microsoft.Win32.TaskScheduler.TaskService.GetLibraryVersionFromLocalOS()
at Microsoft.Win32.TaskScheduler.TaskService.ResetHighestSupportedVersion()
at Microsoft.Win32.TaskScheduler.TaskService..ctor()
at Startup.IsScheduled() in D:\a\g-helper\g-helper\app\Helpers\Startup.cs:line 14
at GHelper.SettingsForm..ctor() in D:\a\g-helper\g-helper\app\Settings.cs:line 189
at GHelper.Program..cctor() in D:\a\g-helper\g-helper\app\Program.cs:line 30
--- End of inner exception stack trace ---
at GHelper.Program.Main(String[] args) in D:\a\g-helper\g-helper\app\Program.cs:line 83

i tried uninstalling and reinstalling latest .net version but still nothing. please help.

@seerge
Copy link
Owner

seerge commented Dec 13, 2024

@Priboiii hello,

It looks some internal exception in windows Task Scheduler (that G-Helper uses to set itself to run on startup and checks the status every time you run it)

Try to manually open Task Scheduler and remove GHelper task from there, to see if it helps ?

If not try this build, I have suppressed exception, so at least app will keep running (but it won't be able to check if it's scheduled tho)

GHelper.zip

@seerge seerge added the question Further information is requested label Dec 13, 2024
@seerge
Copy link
Owner

seerge commented Dec 18, 2024

@Priboiii any updates here ?

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

No branches or pull requests

2 participants