4
votes

After installing the Dynamics CRM Report Authoring Extension here, both Visual Studio 2015 and SQL Server Data Tools 2015 crash on startup, occassionally immediately after the splash-screen but usually after the UI loads.

If I uninstall the extension and run the command devenv.exe /resetsettings I can get Visual Studio to stop crashing, but obviously can't develop my reports.

I've already reinstalled VS and rebooted. How do I get past this?

EDIT:

I recreated the problem on another machine. Here's the steps to reproduce, be careful though since even reinstalls aren't fixing this:

  • Install VS 2015
  • Install SSDT 2015
  • Attempt to Install Report Authoring Extension 2015. Install should fail.
  • Attempt to Install 2016 Report Authoring Extension. Install should fail.
  • Follow the steps here to fix the registry.
  • Reinstall the 2016 Report Authoring Extension

Now Visual Studio should crash on startup

EDIT 2:

After reinstalling Windows I've hit the same problem. Visual Studio 2015 Professional. This time the only thing I did was install the 2016 Report Authoring Extension and Visual Studio crashes on startup. I uninstalled the extension but the problem is still happening.

4
I solved this issue by installing the Azure SDK.Maxime Toussaint

4 Answers

1
votes

Make sure you close the visual studio before doing this step.

Try to delete the ComponentModelCache folder in the C:\Users[username]\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache

Then Open the Visual Studio

This step works for me.

1
votes

I was also having this issue and multiple repairs did not help. I ended up having to uninstall the CRM Report Authoring extension, SSDT, and Visual Studio. Then I did a clean install of Visual Studio 2015. Afterwards I updated all extensions, including SSDT (you should be able to see all available updates in the notifications icon at the top of the screen). After everything was updated, I was able to re-install the Dynamics CRM Report Authoring Extension and so far everything has been working.

0
votes

Try to delete folder ComponentModelCache from:

C:\Users\%USER%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache

and restart Visual Studio.

OR/AND

Open Windows Registry:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\0EF1E6B4EFCDA2649B26A424D56DAACD

If there you have two paths delete both. Then reinstall Dynamics CRM Report Authoring Extension and go to Step 1.

0
votes

I had to re-install the Microsoft Online Services Sign-In Assistant (link). After removing/re-installing that (repair on it was failing for me). It successfully installed.

It still did not work after that though so I tried Bryan Oab's suggestion to delete the ComponentModelCache and I was back in business.