When starting Project Analyzer, you may see the following error message before the application loads:


Error: Interface not registered (Exception from HRESULT: 0x80040155)
Stack Trace:
at Accessibility.IAccessible.get_accParent()
at System.Windows.Forms.AccessibleObject.get_Parent()
at System.Windows.Forms.Control.ControlAccessibleObject.get_Parent()
at Infragistics.Win.UltraControlBase.UltraControlAccessibleObject.GetChildControlAccessibleObject(Int32 index)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.ExplorerBarAccessibleObject.GetChild(Int32 index)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.GetAccessibleIndex(UltraExplorerBarGroup group)
at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.set_ActiveGroup(UltraExplorerBarGroup value)
at ProjectAnalyzer.frmMain.funSetInterfaceAppearance() in c:\depot\NPA\frmMain.cs:line 1004
at ProjectAnalyzer.frmMain.funLoadSequence() in c:\depot\NPA\frmMain.cs:line 794
at ProjectAnalyzer.frmMain.frmMain_Load(Object sender, EventArgs e) in c:\depot\NPA\frmMain.cs:line 222
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



This error can occur due to problems with your computer's Windows environment.  Depending on the specific envrionmental issue on your system, one or more of the solutions listed below may resolve the issue.


Solution 1: Run Project Analyzer as a local administrator


1.  Log into your computer as a user with local administrator credentials.

2.  Right-click on the Project Analyzer icon and choose "Run as administrator".  Project Analyzer should start without errors.

3.  Close Project Analyzer. 


Once you've completed these steps, you should be able to log in using your preferred Windows account and start Project Analyzer normally, without using the "Log in as administrator" function.



Solution 2: Run the .Net Framework Repair Tool


Running Microsoft's .Net Framework Repair Tool on the affected machine(s) may resolve the issue.  You may download the tool directly from Microsoft via this link: https://www.microsoft.com/en-us/download/details.aspx?id=30135


Once the repair process is complete, you should be able to start Project Analyzer without seeing the error.



Solution 3: Re-register all Windows DLLs


If neither of the solutions above works, you may be able to resolve the issue by re-registering all of the Windows DLLs on the affected machine.  To do this, download the attached batch file ("Re-register Windows DLLs.bat") and run it as an administrator on the affected machine.  Please note:


1) The process may take several minutes to complete.

2) You may be prompted to install missing DLLs during the process.  You may have to re-run the batch file after the installation of missing DLLs is complete.


Once the re-registration process completes successfully, restart the affected machine and try opening Project Analyzer.  It should now run without errors.