title: Sitecore: The layout for the requested document was not found
body: <p>Only when I go to preview an item from the Content editor I get an error message </p>
  
  <blockquote>
    <blockquote>
      <p>The layout for the requested document
      was not found.</p>
    </blockquote>
  </blockquote>
  
  <p>I get redirected to </p>
  
  <p>http:///?item=%2f&amp;layout=%7b00000000-0000-0000-0000-000000000000%7d&amp;device=Default</p>
  
  <p>However, if I take the url and type it in directly or cut and paste like </p>
  
  <p>http:///?sc_itemid=%7BDA4BABB2-2605-46C5-8BA6-52215A826154%7D&amp;sc_mode=preview&amp;sc_lang=en</p>
  
  <p>Preview works.</p>
  
  <p>If I load the previous backup it works, I am trying to figure out the difference between the two databases.</p>
  
  <p>Any ideas of where to being to look.</p>
  
  <p><strong>Update</strong>
  I am using Sitecore.NET 7.5 (rev. 150212)</p>
  
  <p>The issue seems to be with the Master Database, since I can use the current Core and Web database with the previous Master database and it works </p>
  
  <p>The log shows </p>
  
  <pre><code>8360 07:23:12 WARN  Could not find type in ReflectionUtil.CreateObject: Sitecore.Shell.Applications.Analytics.VisitorIdentifications.RunVisitorIdentifications
  8360 07:23:12 ERROR Could not instantiate "Sitecore.Shell.Applications.Analytics.VisitorIdentifications.RunVisitorIdentifications,Sitecore.Client" command object.
  8360 07:23:12 WARN  Could not find type in ReflectionUtil.CreateObject: Sitecore.Shell.Applications.Analytics.Reports.Summary.Update
  8360 07:23:12 ERROR Could not instantiate "Sitecore.Shell.Applications.Analytics.Reports.Summary.Update,Sitecore.Client" command object.
  1932 07:23:17 INFO  Cache created: 'WebUtil.QueryStringCache' (max size: 19KB, running total: 807MB)
  9780 07:23:24 INFO  HttpModule is being initialized
  12800 07:23:24 INFO  HttpModule is being initialized
  6248 07:23:25 INFO  HttpModule is being initialized
  13332 07:23:46 ERROR Item could not be found from query string. [ID is "{DA4BABB2-2605-46C5-8BA6-52215A826154}".]
  </code></pre>