[Mono-list] Custom memberhsip blues => could not find type: MySqlMembershipProvider
Stephen March
steve at enerds.ca
Sun Mar 18 18:08:38 EDT 2007
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070318/db7c9faf/attachment.html
More information about the Mono-list
mailing list