[Mono-bugs] [Bug 362039] [Regression] Exception is thrown trying to load ClassifiedsStarterKit on Mono 1.9p2

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 18 14:06:32 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=362039

User mhabersack at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=362039#c3


Marek Habersack <mhabersack at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |RESOLVED
         Resolution|                                                |INVALID




--- Comment #3 from Marek Habersack <mhabersack at novell.com>  2008-02-18 12:06:32 MST ---
This is not really a bug, but a misconfiguration in the specified sample
applications. Namely, the issue is related to the recently introduced Settings
Mapping (http://mono-project.com/ASP.NET_Settings_Mapping) support which lets
application run on both Windows and Unix without touching the .config files,
but instead mapping certain settings behind the scenes.
Mono by default ships mappings for the AspNetSql* variables (see
$prefix/etc/mono/2.0/settings.map) and if an application wants to reuse the
same names for the configuration settings (as is the case with both sample
applications above), it will get the values mapped by Mono - that is the Sqlite
Role/Membership providers. That's the reason why Sqlite appears in the above
exception. I have updated the sample applications with a configuration setting
to disable the settings mapping mechanism and have updated the sources in the
OpenSUSE build service.
After installing the new versions from the build service you will, hovever,
notice that the exception is still thrown - but this time the message names
NauckIT.PostgreSQLProvider.PgRoleProvider in the error message instead of
Sqlite. The reason for the exception is that the database excpected by the
application has not been set up. The instructions on how to do that are given
in the mono-asp-net manpage (found in the xsp rpm packages built from either
the svn trunk or the 1.9 branch).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list