Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3856134
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:52:59+00:00 2026-05-19T17:52:59+00:00

I’m trying to run my app on Mono and I’m getting the following error.

  • 0

I’m trying to run my app on Mono and I’m getting the following error. It used to run fine on Windows/.NET 4. All I’ve changed is the config to use MySQL instead of SQL Server.

Any ideas what is going on here?


Server Error in '/' Application

To be XML serializable, types which inherit from IEnumerable must have
an implementation of
Add(NHibernate.Cfg.MappingSchema.HbmJoinedSubclass) at all levels of
their inheritance hierarchy.
System.Collections.Generic.IEnumerable`1[[NHibernate.Cfg.MappingSchema.HbmJoinedSubclass,
NHibernate, Version=3.0.0.1002, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4]] does not implement
Add(NHibernate.Cfg.MappingSchema.HbmJoinedSubclass).

Description: HTTP 500. Error processing request.

Stack Trace:

System.InvalidOperationException: To be XML serializable, types which
inherit from IEnumerable must have an implementation of
Add(NHibernate.Cfg.MappingSchema.HbmJoinedSubclass) at all levels of
their inheritance hierarchy.
System.Collections.Generic.IEnumerable`1[[NHibernate.Cfg.MappingSchema.HbmJoinedSubclass,
NHibernate, Version=3.0.0.1002, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4]] does not implement
Add(NHibernate.Cfg.MappingSchema.HbmJoinedSubclass).
 at System.Xml.Serialization.TypeData.get_ListItemType () [0x00230]
in /private/tmp/monobuild/build/BUILD/mono-2.8.2/mcs/class/System.XML/
System.Xml.Serialization/TypeData.cs:366
 at System.Xml.Serialization.TypeData.get_ListItemTypeData ()
[0x00016] in /private/tmp/monobuild/build/BUILD/mono-2.8.2/mcs/class/
System.XML/System.Xml.Serialization/TypeData.cs:298
 at System.Xml.Serialization.TypeData..ctor (System.Type type,
System.String elementName, Boolean isPrimitive,
System.Xml.Serialization.TypeData mappedType,
System.Xml.Schema.XmlSchemaPatternFacet facet) [0x00104] in /private/
tmp/monobuild/build/BUILD/mono-2.8.2/mcs/class/System.XML/
System.Xml.Serialization/TypeData.cs:94
 at System.Xml.Serialization.TypeData..ctor (System.Type type,
System.String elementName, Boolean isPrimitive) [0x00000] in <filename
unknown>:0
 at System.Xml.Serialization.TypeTranslator.GetTypeData (System.Type
runtimeType, System.String xmlDataType) [0x00241] in /private/tmp/
monobuild/build/BUILD/mono-2.8.2/mcs/class/System.XML/
System.Xml.Serialization/TypeTranslator.cs:243
 at System.Xml.Serialization.TypeTranslator.GetTypeData (System.Type
type) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.8.2/mcs/
class/System.XML/System.Xml.Serialization/TypeTranslator.cs:163
 at
System.Xml.Serialization.XmlReflectionImporter.GetReflectionMembers
(System.Type type) [0x00244] in /private/tmp/monobuild/build/BUILD/
mono-2.8.2/mcs/class/System.XML/System.Xml.Serialization/
XmlReflectionImporter.cs:774
 at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace) [0x0007a] in /private/tmp/monobuild/build/BUILD/
mono-2.8.2/mcs/class/System.XML/System.Xml.Serialization/
XmlReflectionImporter.cs:343
 at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace) [0x0006e] in /private/tmp/monobuild/build/BUILD/
mono-2.8.2/mcs/class/System.XML/System.Xml.Serialization/
XmlReflectionImporter.cs:217
Version information: Mono Runtime Version: 2.8.2 (tarball Tue Jan 4
15:08:58 MST 2011); ASP.NET Version: 4.0.30319.1
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T17:53:00+00:00Added an answer on May 19, 2026 at 5:53 pm

    Upgrading to the latest version of NHibernate 3 fixed by problem. I was running on an old alpha release of 3.0… doh!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to render a haml file in a javascript response like so:
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.