mgoldin's blog

A blog about Profiler in Microsoft Visual Studio.

“Performance reports must be created on a local drive”

“Performance reports must be created on a local drive”

Rate This
  • Comments 1

For better performance, VS Profiler requires the report to be on a local drive. If you change the report file location through Performance Session properties page (right click on performance session in Performance Explorer –> Properties –> General):


then you end up with an error like that:


The rationale behind usage of local drives is that VS Profiler attempts to make logging to the file fast, while usage of network drives might introduce logging delays (up to blocking your application execution in some cases).

However, if you absolutely have to use your network drives for that purpose, you can achieve that through usage of Symbolic Links. A symbol link can be easily created with mklink utility. For example,

mklink /D C:\Foo \\MyNetwork\MyValut

After that you can use C:\Foo as a location for profiling reports. Keep in mind, though, that your network access can be slower than a local drive access, and it can impact your profiling session.

  • Hello Maxim,

    The work around you have posted no longer works with Visual Studio 2012 on Windows 7. The symlinked folder gets resolved into the network path and Visual Studio doesn't allow it to be used. Is there any other way to do this?



Page 1 of 1 (1 items)
Leave a Comment
  • Please add 8 and 5 and type the answer here:
  • Post