Hi Mike,

  Thanks for the reply. All my other DB code seems to be working fine - it's v5.05. 

Before posting to the list I just created a simple "MyProvider" that inherited from MembershipProvider, implemented all the required methods for the interface, tossed it into App_Code  (and tried manual compile to the bin/ directory).  This way, I could rule out MySQL as being the source of the errors.

I keep getting the "could not find type" error that I posted before.  Very interesting.

  ~Stephen

  ----- Message from [EMAIL PROTECTED] ---------
    Date: Sun, 18 Mar 2007 18:33:21 -0400
    From: Mike Morano <[EMAIL PROTECTED]>
Reply-To: Mike Morano <[EMAIL PROTECTED]>
Subject: Re: [Mono-list] Custom memberhsip blues => could not find type: MySqlMembershipProvider
      To: Stephen March <[EMAIL PROTECTED]>
      Cc: [email protected]

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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list[1]


----- End message from [EMAIL PROTECTED] -----


Links:
------
[1] http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to