Jump to content
Join the POSCON Public Discord Server! ×

Can't Launch Pilot Client: Unhandled Exception


Markus B.

Recommended Posts

Hi team,

I just tried taking my first steps in the network, but I'm failing to launch the pilot client. I keep on getting this error message, re-installed launcher and pilot client with no success:

Unhandled exception: Error creating windows handle.

The installation of both, launcher and client went smoothly. Any help is appreciated.

Thanks

DateStamp: 08/01/2022 11:59:06
Details: System.ComponentModel.Win32Exception (0x80004005): Error creating window handle.
   at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at PosCon.PilotClient.Simulator.SimConnect.SimConnectSimManager..ctor(IConfig config, IEventBroker eventBroker, IConnectionManager connectionManager, IExtrapolator extrapolator, IAutoLeveler autoLeveler, IDetectedSimulatorsManager detectedSimulatorsManager)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at PosCon.PilotClient.Program.Main(String[] args)

 

Edited by Markus B.
Link to comment
Share on other sites

On 1/8/2022 at 12:06 PM, Markus B. said:

Hi team,

I just tried taking my first steps in the network, but I'm failing to launch the pilot client. I keep on getting this error message, re-installed launcher and pilot client with no success:

Unhandled exception: Error creating windows handle.

The installation of both, launcher and client went smoothly. Any help is appreciated.

Thanks

DateStamp: 08/01/2022 11:59:06
Details: System.ComponentModel.Win32Exception (0x80004005): Error creating window handle.
   at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at PosCon.PilotClient.Simulator.SimConnect.SimConnectSimManager..ctor(IConfig config, IEventBroker eventBroker, IConnectionManager connectionManager, IExtrapolator extrapolator, IAutoLeveler autoLeveler, IDetectedSimulatorsManager detectedSimulatorsManager)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at PosCon.PilotClient.Program.Main(String[] args)

 

Mind joining the Discord server? I am certain you will receive faster replies there

Link to comment
Share on other sites

  • 2 weeks later...
  • Network Directors

@Dwight (1021012) @James A. (1014487) @Markus B.

21 hours ago, Dwight (1021012) said:

I'm following. Having the same problem and I do have Windows 10 Home.  it worked fine before I sent my computer to be fixed. Now the launcher won't log in.

We have identifided the issue most probably you are missing .NET Framework 3.0 SP1 and you can get it here.
Let me know if this resolve your issues

Sorry for the late response.

Link to comment
Share on other sites

  • Network Directors
3 hours ago, Dwight (1021012) said:

I loaded the .NET Framework 3.0 SP1 and I'm still having problems. This is what comes up on the explorer but it never gets to the login page.

http://localhost:7272/oauth/authorize?state=2388147592000

This seems to be a unrelated issue please check your launcher version to be the latest one if not you can download it from the dashboard. 

Link to comment
Share on other sites

  • 1 month later...
  • Network Directors
On 3/21/2022 at 12:41 AM, Marcelo 1030520 said:

Hello I'm having this problem too, mine is W10 Home how to solve?

Hye did you tried the below solution?

 

On 1/24/2022 at 10:18 AM, Giorgio B said:

@Dwight (1021012) @James A. (1014487) @Markus B.

We have identifided the issue most probably you are missing .NET Framework 3.0 SP1 and you can get it here.
Let me know if this resolve your issues

Sorry for the late response.

Best regrads

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and Guidelines.