title: Error: "The given key was not present in the dictionary" when trying to see Job History on SQL Server 2012
body: <p>I am trying to see the history of the executed jobs in SQL Server 2012 (that runs with SQL Server Agent) but I could not access any log.</p>
  
  <p>The error below always appears and no log is shown:</p>
  
  <blockquote>
    <p>The given key was not present in the dictionary.</p>
  </blockquote>
  
  <p>I know the history is still there because I can see some information in the table <code>msdb..sysjobhistory</code>, but I can't see here all I need to determine why one of my jobs is failing.</p>
  
  <p>Has anyone experienced this before, and knows how to solve it?</p>
  
  <p>Thanks in advance.</p>