[Mono-aspnet-list] .NET 3.5 webservice not working in Mono but works fine on ASP.NET server.

Travis959 Travis959 at hotmail.com
Fri May 20 22:33:19 EDT 2011


I did the above, even copying the entire folder, still same error: 

Object reference not set to an instance of an object.

However, I notice if I don't use it for a while is when I get the earlier
error I talked about which I have here:

System.Runtime.Serialization.ExtensionDataObject cannot be serialized
because it does not have a default public constructor

Description: HTTP 500. Error processing request.

Stack Trace:

System.InvalidOperationException:
System.Runtime.Serialization.ExtensionDataObject cannot be serialized
because it does not have a default public constructor
  at System.Xml.Serialization.ReflectionHelper.CheckSerializableType
(System.Type type, Boolean allowPrivateConstructors) [0x00000] in <filename
unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace) [0x00000] in <filename unknown>:0 

Any ideas?

--
View this message in context: http://mono.1490590.n4.nabble.com/NET-3-5-webservice-not-working-in-Mono-but-works-fine-on-ASP-NET-server-tp3537987p3540027.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list