
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My pluggin is not functioning fully in AutoCAD 2015 SP2. This issue does not exist in previous versions of 2015 (or 2013-1014). I have reproduced the issue on multiple machines. Removing the SP2 update causes my pluggin to function normally again.
Here is the exception and stack trace:
Exception Type: System.Runtime.Serialization.SerializationException
"Unable to find assembly 'Automotion.AutoPrice.Reporting, Version=1.0.0.30, Culture=neutral, PublicKeyToken=null'."
at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
at Automotion.AutoPrice.Serialization.SerializationHelper.DeserializeEstimateDataSet(Byte[] Buffer) in C:\Users\kbrown\Documents\Visual Studio 2010\Projects\AutoPrice ACAD2013\ACAD2013\Automotion.AutoPrice.Serialization\SerializationHelper.vb:line 735
at Automotion.AutoPrice.AutoCAD.ACADEstimateModelAdapter.Fill(EstimateDataSet& DS) in C:\Users\kbrown\Documents\Visual Studio 2010\Projects\AutoPrice ACAD2013\ACAD2013\Automotion.AutoPrice.AutoCAD\ACADEstimateModelAdapter.vb:line 277
Why would such an exception occur in 2015 SP2 but not in previous versions? I am getting exceptions of the same type from other areas of my code base. All of the exceptions seem to indicate an assembly (not always the same one) could not be found and this caused the binary serializer to fail.
Thanks in advance.
Solved! Go to Solution.