[Mono-list] ConfigurationErrorsException, running web application with xsp.

Rolando Martinez rolandomartinezg at gmail.com
Tue Jun 10 10:27:18 EDT 2008

Hi Marek,

my web config is the next (just a part)

 <membership defaultProvider="l10nMembershipProvider">


        <add name="l10nMembershipProvider"
l10nCommunity.WebManagement, Version=, Culture=neutral"
connectionStringName="LocalMySqlServer" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="true"
applicationName="/" requiresUniqueEmail="false" passwordFormat="clear"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />

And my assembly is called l10nCommunity.WebManagement.dll, and my class is
the next...

namespace l10nCommunity.WebManagement
    public class  l10nMembershipProvider : MembershipProvider

With this I can work using windows (the runtime of microsoft) but in linux I
can't. I thought that may be the error is because the name the assembly is
not the same that the name inside of web.config but that was checked ;(.

Thanks again ;)

2008/6/10 Marek Habersack <grendel at twistedcode.net>:

> On Mon, 9 Jun 2008 21:16:31 -0400
> "Rolando Martinez" <rolandomartinezg at gmail.com> wrote:
> > hi there,
> Hello,
> > I'm moving a web application from win to linux. My problem is with my
> > implementation of membership witch is found in of bin directory.
> > In windows, I haven't problems running the web application but in linux I
> > got the next error message when I'm in the login page:
> >
> > Error Message: HTTP 500.
> System.Configuration.ConfigurationErrorsException:
> > Could not find type: xxx.WebManagement.xnMembershipProvider,
> > xxx.WebManagement, Version=, Culture=neutral () ()
> Is the provider registered properly in web.config?
> > So, I understand that is because I don't have the installed dll in the
> gac
> > or the xsp could not find the assembly inside of bin directory. My
> question
> > is: Can I run my application without to have that to install the
> membership
> > (xxx.dll) it in the gac??
> Yes, you can. It will fail if not all dependencies of the assembly in bin/
> are
> resolved (or if your dll is in managed C++)
> > how can I do that (editing the web config file)???
> > Really, I can not see the problem here :(
> It's hard to say anything for sure without seeing your code or at least a
> simple
> test case which demonstrates the issue. If you can come up with such a test
> case,
> please file a bug at http://bugzilla.novell.com/ and attach the test case
> there.
> Thanks!
> best regards,
> marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080610/4f19bac9/attachment.html 

More information about the Mono-list mailing list