asp.net-mvc – 在空项目中缺少类型Mono.Web.Util.RoleManagerSe
发布时间:2020-12-15 23:11:52 所属栏目:asp.Net 来源:网络整理
导读:我已经设置了最新的Mono(3.4.1)和 Git的最新XSP,并对它们进行了编译. mono -V打印以下内容: main@zombie# mono -VMono JIT compiler version 3.4.1 (master/89e0b25 Fri May 16 18:52:44 CEST 2014)Copyright (C) 2002-2014 Novell,Inc,Xamarin Inc and Con
我已经设置了最新的Mono(3.4.1)和
Git的最新XSP,并对它们进行了编译. mono -V打印以下内容:
main@zombie# mono -V Mono JIT compiler version 3.4.1 (master/89e0b25 Fri May 16 18:52:44 CEST 2014) Copyright (C) 2002-2014 Novell,Inc,Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported,not enabled. GC: sgen 现在我在Visual Studio 2013中创建了一个示例ASP.NET MVC项目.它包含一些基本页面.我选择使用非常简单的例子没有验证的东西.在Windows上运行.在Mono上,出现以下错误: System.TypeLoadException Could not load type 'Mono.Web.Util.RoleManagerSectionMapper,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a'. Description: HTTP 500.Error processing request. Details: Non-web exception. Exception origin (name of application or object): mscorlib. Exception stack trace: at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool) at System.Type.GetType (System.String typeName,Boolean throwOnError) [0x00000] in <filename unknown>:0 at Mono.Web.Util.SettingsMapping.get_MapperType () [0x00000] in <filename unknown>:0 at Mono.Web.Util.SettingsMapping.MapSection (System.Object input,System.Type type) [0x00000] in <filename unknown>:0 at Mono.Web.Util.SettingsMappingManager.MapSection (System.Object input,System.Type type) [0x00000] in <filename unknown>:0 at Mono.Web.Util.SettingsMappingManager.MapSection (System.Object input) [0x00000] in <filename unknown>:0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName,System.String path,System.Web.HttpContext context) [0x00000] in <filename unknown>:0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName) [0x00000] in <filename unknown>:0 at System.Web.Security.RoleManagerModule.Init (System.Web.HttpApplication app) [0x00000] in <filename unknown>:0 at System.Web.Configuration.HttpModulesSection.LoadModules (System.Web.HttpApplication app) [0x00000] in <filename unknown>:0 at System.Web.HttpApplication.InitOnce (Boolean full_init) [0x00000] in <filename unknown>:0 我试过的是搜索整个项目的RoleManagerSectionMapper – 没有结果. 解决方法
以下可能的答案
@Andreas @TheWavelength (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- asp.net – 如何为可自定义的应用程序设置数据模
- asp.net-core – 在将Swashbuckle用于网络核心we
- asp.net-mvc – 如何从视图中检索传递给我的自定
- tsql – “无法更改具有Command对象作为其源的Re
- asp.net – Paypal Express Checkout集成问题(WE
- asp.net-mvc – MVC路由错误:约束条目’长度’
- asp.net-mvc – 创建一个texarea帮助器,它将视图
- asp.net – Visual Studio可以在新的调试会话中重
- asp.net – 将WPF转换为Web
- 多租户成员资格提供程序ASP.NET MVC
热点阅读