Hi,
When deploying a webservice using NHibernate, I am getting the dreaded "File or assembly name ts8kx2oy.dll, or one of its dependencies, was not found." Researching it, I found that there is a tool called XmlSerializerPreCompiler (available at
http://www.sellsbrothers.com/tools/#Xml ... reCompiler ) that can tell me what's going on. Examining my webservice class with this tool, I get the error:
Code:
cannot serialize member System.ComponentModel.MarshalByValueComponent.Site of type System.ComponentModel.ISite because it is an interface
This seems to be generally quite a well-known problem with the .NET XmlSerializer, it has trouble with jagged arrays and a few other troubles. One of the suggestions for fixing it is to put a [System.Xml.Serialization.XmlIgnoreAttribute] on whatever is causing the trouble - but I have not yet been able to figure this out. Has anyone perhaps run across something like this using NHibernate before?
I'll try to cobble together a stack trace etc., I am not quite sure where to start looking though.