title: The following sections have been defined but have not been rendered for the layout page "~/Views/Shared/_Layout.cshtml"
body: <p>I know there are a few questions that have been answered but I didn't find something specific to my case.</p>
  
  <p>I'm using the mobile capabilities of MVC4. So I created a _layout.mobile.cshtml and the corresponding views.</p>
  
  <p>The error above happens when I go in with a mobile device. As you can see, it is trying to display the regular _layout.cshtml instead of the _layout.mobile.cshtml. So I'm assuming it is also trying to display the view (say Index.mobile.cshtm) which doesn't have the section in question. Basically it is mixing the regular layout with the mobile views.</p>
  
  <p>This doesn't happen all the time. If I recycle the pool it works again for a while and then all of the sudden it goes back to having the error and it will continue until I recycle the pool again.</p>
  
  <p>Has anyone seen this problem before that can shed some light?</p>
  
  <p>Thanks 
  John</p>