Umbraco Error - The View found at '~/Views/Home.cshtml' was not created

Sometimes when you move Umbraco to a new server environment you will get an error - "The View found at '~/Views/Home.cshtml' was not created" on your homepage.

Below is an easy way to fix this error without touching your web.config code at all.

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

This will generate necessary models class for your target model and your site should now load.

 

  • umbraco, The View found at '~/Views/Home.cshtml' was not created, home.cshtml, the view
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Upgrading nopCommerce

Its very important for clients to keep their website applications up to date with the latest...

Upgrading Umbraco

Its very important for clients to keep their website applications up to date with the latest...

How to configure your SMTP mail server in nopCommerce

How to configure your SMTP mail server in nopCommerce: Login to your nopCommerce admin area....

Troubleshooting DNN (Dotnetnuke)

The DNN team have full documentation on how to troubleshoot and view detailed error logs in your...

Troubleshooting nopCommerce

If you are seeing the generic error page for nopCommerce and are unsure how to debug the issue...