I copied the MVC3 Razor site using FTP. However, when I type the URL, I get an error:
"Could not load type Mynamespace.MvcApplication"
and it shows that the problem is related to Global.asax:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="MvcPanamaVibes.MvcApplication" Language="C#" %>
My project works fine on my computer. I tried just downloading Global.asax and the rest, but got an error. I also downloaded Global.asax.cs, but the problem persists.
If my application compiles completely and works fine on my computer, why does it complain about it? What am I missing?
source share