[Mono-aspnet-list] Error in MySQL role provider
Alexander M. Batishchev
abatishchev at godfather.net.ru
Mon Mar 14 02:54:27 EDT 2011
Try latest MySQL .NET Connector, ver. 6.3.6
http://dev.mysql.com/downloads/connector/net/
-----Original Message-----
From: mono-aspnet-list-bounces at lists.ximian.com
[mailto:mono-aspnet-list-bounces at lists.ximian.com] On Behalf Of ajwtech
Sent: Monday, March 14, 2011 7:27 AM
To: mono-aspnet-list at lists.ximian.com
Subject: [Mono-aspnet-list] Error in MySQL role provider
Whenever I try to load my site I get the following error. Any guidance on
what to check with this would be very helpful.
Thanks.
Server Error in '/time' Application
----------------------------------------------------------------------------
----
Provider 'MySqlRoleProvider' must subclass from
'System.Web.Security.RoleProvider'
Description: HTTP 500. Error processing request.
Stack Trace:
System.Configuration.ConfigurationErrorsException: Provider
'MySqlRoleProvider' must subclass from 'System.Web.Security.RoleProvider'
at System.Web.Configuration.ProvidersHelper.InstantiateProvider
(System.Configuration.ProviderSettings providerSettings, System.Type
providerType) [0x00072] in
/usr/src/redhat/BUILD/mono-2.10/mcs/class/System.Web/System.Web.Configuratio
n_2.0/ProvidersHelper.cs:64
at System.Web.Configuration.ProvidersHelper.InstantiateProviders
(System.Configuration.ProviderSettingsCollection configProviders,
System.Configuration.Provider.ProviderCollection providers, System.Type
providerType) [0x0003e] in
/usr/src/redhat/BUILD/mono-2.10/mcs/class/System.Web/System.Web.Configuratio
n_2.0/ProvidersHelper.cs:72
at System.Web.Security.Roles.get_Providers () [0x00015] in
/usr/src/redhat/BUILD/mono-2.10/mcs/class/System.Web/System.Web.Security/Rol
es.cs:260
at System.Web.Security.Roles.get_Provider () [0x00000] in
/usr/src/redhat/BUILD/mono-2.10/mcs/class/System.Web/System.Web.Security/Rol
es.cs:248
at System.Web.Security.Roles.RoleExists (System.String rolename) [0x00000]
in
/usr/src/redhat/BUILD/mono-2.10/mcs/class/System.Web/System.Web.Security/Rol
es.cs:188
at ASP.global_asax.Application_Start (System.Object sender,
System.EventArgs e) [0x0000a] in /usr/local/TimeTracker/Global.asax:13
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x000d0] in
/usr/src/redhat/BUILD/mono-2.10/mcs/class/corlib/System.Reflection/MonoMetho
d.cs:226
----------------------------------------------------------------------------
----
Version information: Mono Runtime Version: 2.10 (tarball Tue Feb 15 04:36:31
UTC 2011); ASP.NET Version: 2.0.50727.1433
--
View this message in context:
http://mono.1490590.n4.nabble.com/Error-in-MySQL-role-provider-tp3353139p335
3139.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
_______________________________________________
Mono-aspnet-list mailing list
Mono-aspnet-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
More information about the Mono-aspnet-list
mailing list