title: Visual Studio Community 2015 crashes once when opening a project if SSMS 2016 is open
body: <p>A weird Visual Studio Community 2015 behaviour keeps happening regularly on my laptop. I can reproduce the issue with the following actions:</p>
  
  <ul>
  <li>Boot the laptop and login to Windows 10 (with the latest updates)</li>
  <li>Open SQL Server 2016 Management Studio (any version from 2016 RC3 to 16.4)</li>
  <li>Open Visual Studio Community 2015 (with Update 3)</li>
  <li>Open any recent project
  [Visual Studio crashes]</li>
  <li>Reopen Visual Studio Community 2015</li>
  <li>Reopen any recent project
  [Visual Studio loads the project without issues]</li>
  </ul>
  
  <p>After a laptop reboot, the issue persists: the first load crashes, the second and the following ones don't crash.</p>
  
  <p>If I open VS2015 and load the project without opening SSMS, the project loads even at the first try.</p>
  
  <p>When VS2015 crashes, I get these two events:</p>
  
  <p>.NET Runtime</p>
  
  <blockquote>
    <p>Application: devenv.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AccessViolationException
       at Microsoft.SqlServer.SqmInteropServices.SqmApi.Increment(Microsoft.SqlServer.SqmInteropServices.HSQMSESSION, UInt32, UInt32)
       at Microsoft.DataWarehouse.VsIntegration.Shell.Project.FileProjectHierarchy.Load(System.String, UInt32, Int32)
       at Microsoft.DataWarehouse.VsIntegration.Shell.Service.DataWarehouseProjectManagerService.CreateProject(System.String, Int32, Microsoft.DataWarehouse.VsIntegration.Designer.Serialization.DocumentObject, Microsoft.DataWarehouse.VsIntegration.Shell.Project.IFileProjectManager, System.Guid)
       at Microsoft.DataWarehouse.VsIntegration.Shell.Service.DataWarehouseProjectManagerService.CreateProject(System.String, System.Guid)
       at Microsoft.DataWarehouse.VsIntegration.Shell.PVsProjectFactory.CreateProject(System.String, System.String, System.String, UInt32, System.Guid ByRef, IntPtr ByRef, Int32 ByRef)</p>
  </blockquote>
  
  <p>and</p>
  
  <p>Application Error</p>
  
  <blockquote>
    <p>Faulting application name: devenv.exe, version: 14.0.25420.1, time stamp: 0x57685d85
    Faulting module name: msvcrt.dll, version: 7.0.14393.0, time stamp: 0x57899155
    Exception code: 0xc0000005
    Fault offset: 0x00088e5f
    Faulting process id: 0x1fdc
    Faulting application start time: 0x01d213ec4b92254c
    Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
    Faulting module path: C:\Windows\System32\msvcrt.dll
    Report Id: a826a026-dc7d-42b3-b67c-e95cd57a7515
    Faulting package full name: 
    Faulting package-relative application ID: </p>
  </blockquote>
  
  <p>I couldn't find any related topic, so I ask if anyone is facing the same issue.</p>