Legacy Content Warning
This content refers to very old versions of the .NET framework that are not supported in 11.0 and newer (actually, we've not had support for .NET 1.1 since DotImage 6.0). We no longer support .NET < 3.5 in 11.0 and newer)
Original Article Content
If you get this exception when using an Atalasoft class:
System.Runtime.Serialization.SerializationException: Type is not resolved for member
Then the problem is that parts of the code being deployed is built with .NET 1.1 and some is built with .NET 2.0, or you are running in a runtime that doesn't match the build runtime. There are two solutions.
- You can modify the class that is calling our code to inherit from System.MarshalByRefObject.
- You can make sure that all code is built and run with the same runtime.
It's best to use (1) to validate that you have this problem. If the exception goes away, then you can either leave it or track down the component that's being built with the different runtime. Since DotImage 4.0, we've been shipping .NET 1.1 and .NET 2.0 builds -- be sure the include the correct one in your projects.
Q10160 - ERRMSG: System.Runtime.Serialization.SerializationException: Type is not resolved for member