drewnoakes / dependency-analyser

Shows the dependencies between .NET projects and assemblies as a graph.
https://drewnoakes.com/code/dependency-analyser/
GNU Lesser General Public License v3.0
46 stars 5 forks source link

Unhandled COMException #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Exception is thrown when analyzing solution of about 40 projects + referenced 
assemblies.

Exception details:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM 
class factory for component with CLSID {55811839-47B0-4854-81B5-0A0031B8ACEC} 
failed due to the following error: 80040154.
   at Drew.DependencyAnalyser.DependencyPlotter.CalculatePlot(Double aspectRatio, DependencyGraph`1 graph, AssemblyFilterPreferences filterPreferences)
   at Drew.DependencyAnalyser.DependencyAnalyserForm.UpdateImage()
   at Drew.DependencyAnalyser.DependencyAnalyserForm.menuFileOpen_Click(Object sender, EventArgs e)
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItem.ShortcutClick()
   at System.Windows.Forms.Menu.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

Original issue reported on code.google.com by vadim.mi...@gmail.com on 1 Sep 2011 at 12:45

Attachments:

GoogleCodeExporter commented 9 years ago
Have you installed WingraphViz, as described?  It looks, from the exception, as 
though it was unable to load the DLL via COM, suggesting that it wasn't 
installed.  Are you able to run this on smaller projects, or on one of your 
leaf-node assemblies?

Original comment by drewnoakes on 1 Sep 2011 at 6:21

GoogleCodeExporter commented 9 years ago
Yes, now it works!
Thanks 

Original comment by vadim.mi...@gmail.com on 1 Sep 2011 at 7:31

GoogleCodeExporter commented 9 years ago

Original comment by drewnoakes on 1 Sep 2011 at 8:20