fernandreu / office-ribbonx-editor

An overhauled fork of the original Custom UI Editor for Microsoft Office, built with WPF
MIT License
513 stars 97 forks source link

Error when trying to open a document with the Shortcut Menu (right mouse button): #199

Closed BerendStorm closed 2 years ago

BerendStorm commented 2 years ago

DependencyResolutionException: An exception was thrown while activating OfficeRibbonXEditor.ViewModels.Windows.MainWindowViewModel.

Describe the bug

Autofac.Core.DependencyResolutionException: An exception was thrown while activating OfficeRibbonXEditor.ViewModels.Windows.MainWindowViewModel. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(OfficeRibbonXEditor.Interfaces.IMessageBoxService, OfficeRibbonXEditor.Interfaces.IFileDialogService, OfficeRibbonXEditor.Interfaces.IVersionChecker, OfficeRibbonXEditor.Interfaces.IDialogProvider, OfficeRibbonXEditor.Interfaces.IUrlHelper)' on type 'MainWindowViewModel'. ---> System.Configuration.ConfigurationErrorsException: Kan het configuratiesysteem niet initialiseren ---> System.Configuration.ConfigurationErrorsException: Niet-herkende configuratiesectie userSettings (C:\Users\bstor\AppData\Local\Fernando_Andreu\OfficeRibbonXEditor.exe_Url_ms1ab4w4nmqtiaapfpju3g3yc2fmcqx5\1.7.1.886\user.config line 3)
   bij System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
   bij System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
   bij System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
   --- Einde van intern uitzonderingsstackpad ---
   bij System.Configuration.ConfigurationManager.PrepareConfigSystem()
   bij System.Configuration.ConfigurationManager.get_AppSettings()
   bij System.Windows.FrameworkCompatibilityPreferences..cctor()
   --- Einde van intern uitzonderingsstackpad ---
   bij Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
   bij Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   bij Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)
   --- Einde van intern uitzonderingsstackpad ---
   bij Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters, Object& decoratorTarget)
   bij Autofac.Core.Resolving.InstanceLookup.Execute()
   bij Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   bij Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
   bij Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   bij Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   bij Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
   bij OfficeRibbonXEditor.App.LaunchMainWindow()
   bij System.Windows.Application.<.ctor>b__1_0(Object unused)
   bij System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bij System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

To Reproduce Please describe the steps that lead to the unhandled exception here, including example files if relevant.

Screenshots If applicable, add screenshots to help explain how the unhandled exception occurred.

Additional context

fernandreu commented 2 years ago

Same issue as #160, so I am going to close this one. I would recommend updating to a newer version of the tool and see if the issue persists, as I did some work about this. If it persists, please put a comment on the original issue, #160.

BerendStorm commented 2 years ago

No problem Fernando, Ik re-issued this problem because I couldn't retrace the first entry and couldn't remember seeing an answer. I'll download the new version, test it and reply to #160. Regards, Berend Storm

Outlook voor Androidhttps://aka.ms/AAb9ysg downloaden


From: Fernando Andreu @.> Sent: Saturday, December 4, 2021 8:42:46 PM To: fernandreu/office-ribbonx-editor @.> Cc: Berend Storm @.>; Author @.> Subject: Re: [fernandreu/office-ribbonx-editor] Error when trying to open a document with the Shortcut Menu (right mouse button): (Issue #199)

Same issue as #160https://github.com/fernandreu/office-ribbonx-editor/issues/160, so I am going to close this one. I would recommend updating to a newer version of the tool and see if the issue persists, as I did some work about this. If it persists, please put a comment on the original issue, #160https://github.com/fernandreu/office-ribbonx-editor/issues/160.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/fernandreu/office-ribbonx-editor/issues/199#issuecomment-986082602, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUB4NEYRNWGMWL5QBBVKNQ3UPJVLNANCNFSM5JJTEVGA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/fernandreu/office-ribbonx-editor/issues/199#issuecomment-986082602", "url": "https://github.com/fernandreu/office-ribbonx-editor/issues/199#issuecomment-986082602", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]