The View found was not created in Umbraco


Story by Abhilash on Umbraco

Share   

I was updating this website and all of a sudden I start getting an error - "The View found at '~/Views/Home.cshtml' was not created" whenever I tried to browse the website. While searching for a solution, I came across different solutions that asks to update ModelBuilder's mode from PureLive to Dll in web.config, followed by few steps.

umbrac-view-not-created

Below is the easiest and smartest way to fix this error without touching your web.config at all.

  1. Login to /Umbraco backend
  2. Go to Settings -> DocumentTypes ->Select your page's DocumentType (for which you are getting this error)
  3. Simply Save the DocumentType

This will generate necessary models class for your target model.

You may start using your website now.


Hope this helps.

 

 






comments powered by Disqus

Related Story   →

Fix: HTML5 Video not playing when deployed to azure

A post on how to playback HTML5 video when published to Azure.