title: SQL Server Management Studio Unable to Start Correctly
body: <p>I recently installed SQL Server Management Studio 18.5. I get an application error when I try to launch...</p>
  
  <pre><code>"The application was unable to start correctly (0xc000007b). Click OK to close the application."
  </code></pre>
  
  <p>I have downloaded the latest .Net Framework, Visual C++ Redistributable. I have also repaired, reinstalled severally and ran as administrator most of the time.
  I checked the ssms.exe.config in the installation folder. VS says the <code>logpath</code> and <code>encrypt</code> attributes are not allowed. </p>
  
  <pre><code>&lt;system.diagnostics&gt;
          &lt;sources&gt;
              &lt;source name="UserSettings" switchName="SourceSwitch" switchType="System.Diagnostics.SourceSwitch" &gt;
                  &lt;listeners&gt;
                      &lt;add name="logFile" type="Microsoft.SqlServer.Diagnostics.STrace.LogFileTraceListener,&amp;#xD;&amp;#xA;                        Microsoft.SqlServer.Diagnostics.STrace, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
                          logPath="%TEMP%\SSMS\" encrypt="false" &gt;
                      &lt;/add&gt;
                  &lt;/listeners&gt;
              &lt;/source&gt;
  ...
  </code></pre>
  
  <p>This is the error I pulled from the post install log...</p>
  
  <pre><code>Property(S): INSTALLLEVEL = 1
  Property(S): SOURCEDIR = C:\ProgramData\Package Cache\{6E97ABB5-75F1-4C05-A317-F0A23840262B}v15.0.18330.0\x64\
  Property(S): SourcedirProduct = {6E97ABB5-75F1-4C05-A317-F0A23840262B}
  Property(S): ProductToBeRegistered = 1
  MSI (s) (98:C8) [17:32:40:580]: Note: 1: 1707 
  MSI (s) (98:C8) [17:32:40:580]: Note: 1: 2205 2:  3: Error 
  MSI (s) (98:C8) [17:32:40:580]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1707 
  MSI (s) (98:C8) [17:32:40:580]: Note: 1: 2205 2:  3: Error 
  MSI (s) (98:C8) [17:32:40:580]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
  MSI (s) (98:C8) [17:32:40:580]: Product: SSMS Post Install Tasks -- Installation completed successfully.
  
  MSI (s) (98:C8) [17:32:40:582]: Windows Installer installed the product. Product Name: SSMS Post Install Tasks. Product Version: 15.0.18330.0. Product Language: 1033.
  </code></pre>