問:組策略阻止了這個程序。要獲取詳細(xì)信息,請與系統(tǒng)管理員聯(lián)系。,組策略阻止了這個程序。要獲取詳細(xì)信息,請與系統(tǒng)管理員聯(lián)系。
答:您好,很是虛擬主機(jī)不可運(yùn)行csc.exe文件,已經(jīng)幫您把web.config中的
<compiler language=\”c#;cs;csharp\” extension=\”.cs\” type=\”Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=127.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35\” warningLevel=\”4\” compilerOptions=\”/langversion:6 /nowarn:1659;1699;1701\” /> <compiler language=\”vb;vbs;visualbasic;vbscript\” extension=\”.vb\” type=\”Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=127.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35\” warningLevel=\”4\” compilerOptions=\”/langversion:14 /nowarn:41008 /define:_MYTYPE=\\"Web\\" /optionInfer \” /> </compilers>
一段注釋,現(xiàn)在訪問提示程序內(nèi)部報錯,請檢查下程序及數(shù)據(jù)庫導(dǎo)入是否不正常,非常感謝您長期對我司的支持!
問:“/”應(yīng)用程序中的服務(wù)器錯誤。路由集合中已存在名為“_default”的路由。路由名稱必須唯一。
參數(shù)名: name說明: 執(zhí)行當(dāng)前 Web 請求期間,出現(xiàn)未經(jīng)處理的異常。請檢查堆棧跟蹤信息,以了解有關(guān)該錯誤以及代碼中導(dǎo)致錯誤的出處的詳細(xì)信息。
異常詳細(xì)信息: System.ArgumentException: 路由集合中已存在名為“_default”的路由。路由名稱必須唯一。
參數(shù)名: name
源錯誤:
執(zhí)行當(dāng)前 Web 請求期間生成了未經(jīng)處理的異常??梢允褂孟旅娴漠惓6褩8櫺畔⒋_定有關(guān)異常原因和發(fā)生位置的信息。
堆棧跟蹤:
[ArgumentException: 路由集合中已存在名為“_default”的路由。路由名稱必須唯一。 參數(shù)名: name] System.Web.Routing.RouteCollection.Add(String name, RouteBase item) System.Web.Mvc.RouteCollectionExtensions.MapRoute(RouteCollection routes, String name, String url, Object defaults, Object constraints, String[] namespaces) 211 System.Web.Mvc.AreaRegistrationContext.MapRoute(String name, String url, Object defaults, Object constraints, String[] namespaces) 56 YinLong.Application.Web.Areas..AreaRegistration.RegisterArea(AreaRegistrationContext context) in E:\\DotNet\\DotNet_WorkSpace\\YinLong.Website\\YinLong.Website\\Areas\\\\AreaRegistration.cs:17 System.Web.Mvc.AreaRegistration.CreateContextAndRegister(RouteCollection routes, Object state) 104 System.Web.Mvc.AreaRegistration.RegisterAllAreas(RouteCollection routes, IBuildManager buildManager, Object state) 190 System.Web.Mvc.AreaRegistration.RegisterAllAreas(Object state) 34 YinLong.Application.Web.MvcApplication.Application_Start() in E:\\DotNet\\DotNet_WorkSpace\\YinLong.Website\\YinLong.Website\\Global.asax.cs:20 [HttpException (0x: 路由集合中已存在名為“_default”的路由。路由名稱必須唯一。 參數(shù)名: name] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) 118 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) 173 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) 218 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) 296 [HttpException (0x: 路由集合中已存在名為“_default”的路由。路由名稱必須唯一。 參數(shù)名: name] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) 95 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) 254
問:我本地沒這個錯誤啊
問:IIS可以重啟嗎
答:您好,目前已經(jīng)重啟過站點(diǎn)程序池,可以打開了,請再試試,謝謝。