[Mono-list] Custom memberhsip blues => could not find type: MySqlMembershipProvider
Mike Morano
mmorano at mikeandwan.us
Sun Mar 18 18:33:21 EDT 2007
Hello,
I'm currently able to use my custom membership provider, and similar to
your's, am connecting to mysql. I'm running mono from svn and xsp2 on
linux.
Additionally, I am using the "official" mysql drivers (v5.0.5), and had
a couple different issues with them, so am running a modified version of
the original source with a few hacks in place to avoid places where it
was dying on me. Perhaps it is a problem with this rather than the
provider itself? Is any of your other db code working?
-Mike
On Sun, 2007-03-18 at 16:08 -0600, Stephen March wrote:
> Hey folks,
>
>
>
> I’m trying to create a custom membership provider for use on
> Linux. I keep on getting the error “could not find type:
> MySqlMembershipProvider”. I’ve tried wrapping it in a different
> namespace, and also manually compiling it and placing it into the bin
> directory. My web.config looks like this:
>
>
>
> <membership defaultProvider="MyProvider"
> userIsOnlineTimeWindow="15">
>
> <providers>
>
> <clear/>
>
> <add name="MyProvider"
>
> type="MySqlMembershipProvider"
>
> connectionStringName="StrConn"
>
> applicationName="Mono"
>
> enablePasswordRetrieval="false"
>
> enablePasswordReset="true"
>
> requiresQuestionAndAnswer="false"
>
> requiresUniqueEmail="true"
>
> passwordFormat="Hashed"/>
>
> </providers>
>
> </membership>
>
>
>
> Currently my provider code is located in the App_Code directory (this
> works fine on Windows, .NET 2.0 through IIS)
>
>
>
> On my Linux setup the connection string is to a local MySQL database
> with the MySql client connector. I have several object data sources
> that pull off of my custom business classes, making use of generics,
> etc. So I know I’m on ASP.NET 2.0, things appear to be configured
> correctly .. it just seems that the web.config is processed before my
> custom provider is compiled and included.
>
> erver2)
>
>
>
> Any thoughts?
>
> Best regards,
>
>
> ~Stephen March
>
>
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list