I tried the Concurrency Visualizer (in VS 2012) the other day at work, and I immediately loved the report it produced for me. So, I decided to try it on my home computer, but I've been running into an error. Whenever I run an analysis and get to the point of opening it, or when I just open a trace, I get the following error message:
"Profiling failed because the analysis process could not be reached."
I figured that maybe a process wasn't running, so I restarted in the hopes that it would start up, but that didn't change anything. I've tried opening analyses from more than one executable, so I know it wasn't the particular trace that was the problem. After searching a bit on the internet and MSDN, I found no references to this error message.
I looked at the log files in %TEMP%, and they look normal except for one ("ConcurrencyVisualizer.5708.130615.131555.log"). Here are its contents:
Created at 6/15/2013 1:15:55 PM
***** Started at 6/15/2013 1:15:55 PM ***
***** Started at 6/15/2013 1:15:55 PM ***
130615.131601.6622: Error: Throwing exception: Unable to connect to the analysis service process
130615.131601.6875: Error: Exception of Type ServiceProcessException
Unable to connect to the analysis service process Exception encountered during analysis
at Microsoft.ConcurrencyVisualizer.Common.Support.TraceAndThrow(Exception exception, String text)
at Microsoft.ConcurrencyVisualizer.Profiling.OutOfProcessProfiler.Profile(ProfileRequestParameter profileRequest, CancellationToken cancellationToken, IProgress`1 progress)
at Microsoft.ConcurrencyVisualizer.Session.LocalReportSession.<>c__DisplayClass9.<OpenReport>b__5()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Here are some relevant details about my setup, in case it matters:
OS: Windows 8 Pro (x64)
VS Version: Visual Studio Ultimate 2012 (11.0.60315.01)
EDIT:
I just finished running a Windows Installer Repair operation on VS, but after the repair, I still get the same error.