title: Umbraco: CS0234 The type or namespace name 'TextPage' does not exist
body: <p>I have a website based on Umbraco CMS. Currently the site is running on another site with no problems at all. Now when I tried it on another server, it doesn't work anymore.</p>
  
  <p>This is the detail of the error:</p>
  
  <p>Compilation Error</p>
  
  <p>Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. </p>
  
  <p>Compiler Error Message: CS0234: The type or namespace name 'TextPage' does not exist in the namespace 'Umbraco.Web.PublishedContentModels' (are you missing an assembly reference?)</p>
  
  <p>Source Error:</p>
  
  <p>Line 40:<br>
  Line 41:<br>
  Line 42:     public class _Page_Views_TextPage_cshtml : Umbraco.Web.Mvc.UmbracoTemplatePage {
  Line 43:<br>
  Line 44: #line hidden</p>
  
  <p>I just don't understand why it isn't running wherein they are all the same.</p>
  
  <p>These are the steps that I made:
   1. I tried changing the <code>&lt;add key="Umbraco.ModelsBuilder.ModelsMode" value="PureLive" /&gt;</code> to <code>&lt;add key="Umbraco.ModelsBuilder.ModelsMode" value="Dll" /&gt;</code> but it isn't working
   2. I already set the application pool to .NET 4.5 which is the same with the previous server that is running.</p>
  
  <p>I hope that you can help me with this. Thank you very much. :-)</p>
  
  <p><a href="https://i.stack.imgur.com/M7eSv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M7eSv.png" alt="enter image description here"></a></p>