i have an asp.net mvc4 application. i have a problem in Global.asax
file
the Global.asax.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
namespace integration_finale
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
WebApiConfig.Register(GlobalConfiguration.Configuration);
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
}
}
}
when i launch the application i got this error:
translated to english
Server Error in '/' Application. Analysis error Description: An error occurred during the analysis of a requirement to meet this demand resource. Please see below the details of the error analysis in question and modify your source file appropriately.
Message Parser Error: Could not load type 'integration_finale.MvcApplication'.
Source Error:
Line 1: <% @ Application Codebehind = "Global.asax.cs" Inherits = "integration_finale.MvcApplication" Language = "C #"%>
Source File: / global.asax Line: 1
Version Information: Microsoft NET Framework Version:. 4.0.30319; ASP.NET Version: 4.0.30319.18056
So what is the issue and how can i fix it?