title: System.Web.HttpException Could not load type '[namespace].???'
body: <p>This started as Could not load type 'Global' error. After I tried a few things and getting no where I deleted the Global.asax file and now the error is Could not load type '[namespace].???'</p>
  
  <p>Where ??? is the class name of every page I try to load</p>
  
  <p>The web site (when executed within VS2008, local dev computer) works fine but once published (with no errors) and deployed to the server gives me Could not load type '[namespace].???' error</p>
  
  <p>I did install elmah and I was able to get more details for this "generic" Could not load type '[namespace].???' error</p>
  
  <p>elmah reports a HTTP error 500 :</p>
  
  <p>System.Web.HttpException Could not load type '[namespace].???' -> 
  System.Web.HttpParseException: Could not load type '[namespace].???'</p>
  
  <p>Any ideas?</p>
  
  <p>I have checked the "basics"</p>
  
  <ul>
  <li>References</li>
  <li>Doing a clean and a build</li>
  <li>Checking the Inherits attr in the HTML against the code behind</li>
  </ul>
  
  <p>UPDATE #1</p>
  
  <p>I did deploy the site to a different DEV computer (configured IIS, virtual folder, etc.) and it works. When I use the same published code on the server, get the generic Could not load type '[namespace].???' error</p>
  
  <p>UPDATE #2</p>
  
  <p>I created a test web app. One form (Default.aspx) with a button. The click event does a Response.Write("Hello World"); I moved this app to the server and guess what, I get the Could not load type TestSite._Default</p>
  
  <p>UPDATE #3</p>
  
  <p>According to the fusion log viewer, these two websites are attempting to load CppCodeProvider and VJSharpCodeProvider, but I have no references to any of these. After a Google search, I found this <a href="http://dotnetslackers.com/CSharp/re-68323_The_CodeDom_provider_type_Microsoft_VJSharp_VJSharpCodeProvider_could_not_be_located.aspx" rel="noreferrer">post</a></p>
  
  <p>I checked and I have no references to JAVA files. Still don't know what the problem is </p>