Currently loving doing C# code, but still on the learning curve when things go wrong.
Today I received the above error and so hit Google to work out what was wrong as the error reported wasn’t very useful, like many of the errors one gets from windows!
Well, this one was due to an incorrect assembly version; and as it appears the error was telling me this!
The error I got:
Parse Error, no assembly associated with Xml key a1:http://schemas.microsoft.com/clr/assem/ACDMS%2C%20Version%3D126.96.36.199%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull SerializableDetails
at System.Runtime.Serialization.Formatters.Soap.SoapHandler.ProcessGetType(String value, String xmlKey, String& assemblyString)
at System.Runtime.Serialization.Formatters.Soap.SoapHandler.ProcessType(ParseRecord pr, ParseRecord objectPr)
at System.Runtime.Serialization.Formatters.Soap.SoapHandler.ProcessAttributes(ParseRecord pr, ParseRecord objectPr)
The place I should have looked is in the first line after “/assem/”! The assembly causing the problem was ACDMS, the version the app was expecting is 188.8.131.52 as shown in the section “%20Version%3D184.108.40.206”! Simple really! NOT!
I dug out a 220.127.116.11 and referenced that instead of 1.0.06 and all works now! Apparently if serialisation is done by one version of assembly, you get the error when deserialising with a different version. Nice!
OK, back to work!