这是我的新手。我新安装的kentico cms,每当我尝试访问localhost网站时,它都托管在IIS服务器中。出现此错误。
这是我的Global.asax.cs
using System;
using System.Collections.Generic;
using System.Linq;
using system.web;
using system.web.Mvc;
using system.web.Optimization;
using system.web.Routing;
using Kentico.Web.Mvc;
namespace NewSite
{
public partial class MvcApplication : system.web.HttpApplication
{
protected void Application_Start()
{
// Enables and configures selected Kentico ASP.NET MVC integration features
Applicationconfig.RegisterFeatures(ApplicationBuilder.Current);
// Registers routes including system routes for enabled features
RouteConfig.RegisterRoutes(Routetable.Routes);
// Registers enabled bundles
BundleConfig.RegisterBundles(Bundletable.Bundles);
}
}
}
这是我的Global.asax
<%@ Application Codebehind="Global.asax.cs" Inherits="NewSite.MvcApplication" Language="C#" %>
我在这里想念什么,请帮忙。我几个小时就被困在这里