Note: The issue described here has been resolved with version of the Microsoft Dynamics 365 Report Authoring Extension.

In the following scenario:

  • You have Visual Studio 2015 with SQL Server Data Tools installed.

  • You install the Microsoft Dynamics 365 Report Authoring Extension (version

When you start SQL Server Data Tools for Visual Studio, Visual Studio closes with the message "Microsoft Visual Studio 2015 has stopped working."

The error in the Windows Event Viewer may look like this:

Application: devenv.exe
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at Microsoft.VisualStudio.Services.Client.AccountManagement.AccountManager.GetAccountProviderCore(System.Guid)
   at Microsoft.VisualStudio.Services.Client.AccountManagement.AccountManager+<>c__DisplayClass32_0.<GetAccountProviderAsync>b__0()
   at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)

Uninstalling the Report Authoring Extension does not resolve the problem.


This issue occurs because of an issue in the Report Authoring Extension setup process. When the Report Authoring Extension is installed using the default installation path, the following assemblies are placed into "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE", replacing any older versions of the files already in that location.

  • Microsoft.IdentityModel.Clients.ActiveDirectory.dll - File Version: 2.22.x.x

  • Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - File Version: 2.22.x.x

Visual Studio attempts to load older versions of the files which do not exist, because the devenv.exe.config file contains a binding redirect entry that still points to version The Report Authoring Extension setup process did not update the binding redirect to point to version when the files were replaced.


To resolve this issue, follow these steps to change the binding redirects in the devenv.exe.config file to point to version

  • Edit these 2 files to change the value of the versions for the bindingRedirect entry to the correct version,

    • C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE" - devenv.exe.config

    • C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies" - PreviewProcessingService.exe.config

Note: If you used a different installation location than the default, you will need to modify the path to these files to the location where you installed Visual Studio.

Note: If the PreviewProcessingService.exe.config file does not already contain the bindingRedirect, you do not need to add it.

  • Find the following sections in both of the files:

    <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="" newVersion="" />
    <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="" newVersion="" />
  • Change the following line from:

<bindingRedirect oldVersion="" newVersion="" />


<bindingRedirect oldVersion="" newVersion="" />
  • Save the file and restart Visual Studio.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!