Skip to content

UnauthorizedAccessException when Editing Structure #16

@MikeWilliams-UK

Description

@MikeWilliams-UK

The form which allows a user to edit a structure uses an ActiveX control to start an embedded version of Internet Explorer (IE).

If Internet Explorer is not registered properly the exception shown below can occur.

As this is an issue which is external to Chem4Word, we are unable to fix this.
Please try to repair your installation of Internet Explorer [11]

Editor.ChemDoodleWeb800.WpfChemDoodle.WpfChemDoodle_OnLoaded()
Exception
System.UnauthorizedAccessException: The COM class generator could not be retrieved for the component with CLSID {8856F961-340A-11D0-A96B-00C04FD705A2} due to the following error: 80070005 Access denied. (Exception of HRESULT: 0x80070005 (E_ACCESSDENIED)).
 at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
 at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
 at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
 at System.Activator.CreateInstance(Type type, Boolean nonPublic)
 at System.Activator.CreateInstance(Type type)
 at System.Windows.Controls.WebBrowser.WebOCHostingAdaptor.CreateWebOC()
 at System.Windows.Controls.WebBrowser.CreateActiveXObject(Guid clsid)
 at System.Windows.Interop.ActiveXHost.TransitionFromPassiveToLoaded()
 at System.Windows.Interop.ActiveXHost.TransitionUpTo(ActiveXState state)
 at System.Windows.Controls.WebBrowser.get_AxIWebBrowser2()
 at System.Windows.Controls.WebBrowser.DoNavigate(Uri source, Object& targetFrameName, Object& postData, Object& headers, Boolean ignoreEscaping)
 at System.Windows.Controls.WebBrowser.Navigate(String source)
 at Chem4Word.Editor.ChemDoodleWeb800.WpfChemDoodle.LoadCdw() in C:\Dev\vsts\chem4word\Version3\src\PlugIns\Editors\ChemDoodleWeb.800\WpfChemDoodle.xaml.cs:líne 510
 at Chem4Word.Editor.ChemDoodleWeb800.WpfChemDoodle.WpfChemDoodle_OnLoaded(Object sender, RoutedEventArgs e) in C:\Dev\vsts\chem4word\Version3\src\PlugIns\Editors\ChemDoodleWeb.800\WpfChemDoodle.xaml.cs:líne 90

Metadata

Metadata

Assignees

No one assigned

    Labels

    Can't FixWe can't do anything about this. It's an external problemUnable to Reproduce

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions