System.Exception
Portable Areas require a ~/Areas/Web.config file in your host application. Copy the config from ~/views/web.config into a ~/Areas/ folder.
Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): MvcContrib.
Exception stack trace:
at MvcContrib.PortableAreas.PortableAreaRegistration.EnsureAreasWebConfigExists () [0x0001d] in <a21e7e0b003d47be86723bfaeea54af9>:0
at MvcContrib.PortableAreas.PortableAreaRegistration.<.cctor>b__1 () [0x00000] in <a21e7e0b003d47be86723bfaeea54af9>:0
at MvcContrib.PortableAreas.PortableAreaRegistration.RegisterArea (System.Web.Mvc.AreaRegistrationContext context) [0x00016] in <a21e7e0b003d47be86723bfaeea54af9>:0
at System.Web.Mvc.AreaRegistration.CreateContextAndRegister (System.Web.Routing.RouteCollection routes, System.Object state) [0x00033] in <1bc1086d33d84331be159596882bcf5b>:0
at System.Web.Mvc.AreaRegistration.RegisterAllAreas (System.Web.Routing.RouteCollection routes, System.Web.Mvc.IBuildManager buildManager, System.Object state) [0x0002b] in <1bc1086d33d84331be159596882bcf5b>:0
at System.Web.Mvc.AreaRegistration.RegisterAllAreas (System.Object state) [0x0000a] in <1bc1086d33d84331be159596882bcf5b>:0
at System.Web.Mvc.AreaRegistration.RegisterAllAreas () [0x00000] in <1bc1086d33d84331be159596882bcf5b>:0
at WebProject.MvcApplication.Application_Start () [0x00001] in <df3ee1bb65394c2198acf30c450ba1e2>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
作者:htycode 发布时间:21年07月22日 可选操作:
删除 回复上连的异常提示,已经说得非常清楚了,不需要给帮你翻译吧!
作者:yunei 发布时间:21年07月23日 可选操作:
删除 回复