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

Marek Habersack grendel at twistedcode.net
Tue Jun 10 06:17:40 EDT 2008


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=1.0.0.0, 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


More information about the Mono-list mailing list