Calculate metrics error

May 31, 2012 at 11:42 AM

---------------------------

Microsoft NodeXL

---------------------------

An unexpected problem occurred.  If it occurs again, please copy the details to the clipboard by typing Ctrl-C, then post the details to http://www.codeplex.com/NodeXL/Thread/List.aspx.

 

 

 

Details:

 

 

 

[Win32Exception]: The directory name is invalid

 

 

 

   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

 

   at System.Diagnostics.Process.Start()

 

   at Microsoft.NodeXL.Algorithms.GraphMetricCalculatorBase.TryCallSnapGraphMetricCalculator(String sArguments, String& sStandardError)

 

   at Microsoft.NodeXL.Algorithms.GraphMetricCalculatorBase.CalculateSnapGraphMetrics(IGraph oGraph, SnapGraphMetrics eSnapGraphMetrics)

 

   at Microsoft.NodeXL.Algorithms.OneSnapGraphMetricCalculatorBase.TryCalculateGraphMetrics(IGraph graph, BackgroundWorker backgroundWorker, Dictionary`2& graphMetrics)

 

   at Microsoft.NodeXL.ExcelTemplate.OneDoubleGraphMetricCalculatorBase.TryCalculateGraphMetrics(IGraph graph, CalculateGraphMetricsContext calculateGraphMetricsContext, OneDoubleGraphMetricCalculatorBase oneDoubleGraphMetricCalculator, GraphMetrics graphMetric, String columnName, Double columnWidthChars, String style, GraphMetricColumn[]& graphMetricColumns)

 

   at Microsoft.NodeXL.ExcelTemplate.EigenvectorCentralityCalculator2.TryCalculateGraphMetrics(IGraph graph, CalculateGraphMetricsContext calculateGraphMetricsContext, GraphMetricColumn[]& graphMetricColumns)

 

   at Microsoft.NodeXL.ExcelTemplate.GraphMetricCalculationManager.CalculateGraphMetricsAsyncInternal(CalculateGraphMetricsAsyncArgs oCalculateGraphMetricsAsyncArgs, BackgroundWorker oBackgroundWorker, DoWorkEventArgs oDoWorkEventArgs)

 

   at Microsoft.NodeXL.ExcelTemplate.GraphMetricCalculationManager.BackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)

 

   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

 

   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

---------------------------

OK   

---------------------------

Jun 1, 2012 at 6:20 AM

I haven't seen that one before.  One possible cause is that NodeXL somehow got installed in a folder with a name that is much longer than normal, hence the "directory name is invalid" message.  To see if that's the case, please do the following:

1. In Windows Explorer, navigate to your C: drive.

2. In your C: drive, search for a file named "Smrf.NodeXL.Adapters.dll" using Windows Explorer's search box.  There may be several such files.

3. In the search results, right-click one such file while holding down the shift key and select "Copy as path" from the right-click menu.

4. Paste the copied path here.

-- Tony