Quantcast
Channel: Configuration and Deployment
Viewing all articles
Browse latest Browse all 3561

RouteTable is not declared

$
0
0

I am getting the following exception when we try to run our net 4.5.2 website.  How can I resolve this issue?

    Exception type: HttpCompileException 
    Exception message: C:\inetpub\wwwroot\ketodiet\global.asax(7): error BC30451: 'RouteTable' is not declared. It may be inaccessible due to its protection level.
   at System.Web.Compilation.AssemblyBuilder.Compile()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
   at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
   at System.Web.Compilation.BuildManager.CompileGlobalAsax()
   at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
   at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)


Viewing all articles
Browse latest Browse all 3561

Trending Articles