S
SpruceSB
We have an application (VS 2003) that uses binary serialization /
deseralization with formatter surrogates for some features. It works ok on
CLR Versions 1.1.4322.573, 1.1.4322.2032, and 1.1.4322.2300 however on CLR
Version 1.1.4322.2379 it receives the following exception during
deserialization:
System.Runtime.Serialization.SerializationException: The object with ID 3
was referenced in a fixup but does not exist.
at
System.Runtime.Serialization.ObjectManager.GetCompletionInfo(FixupHolder
fixup, ObjectHolder& holder, Object& member, Boolean bThrowIfMissing)
at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder
holder, Boolean bObjectFullyComplete)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler
handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessage
methodCallMessage)
at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream
serializationStream, HeaderHandler handler, Boolean fCheck,
IMethodCallMessage methodCallMessage)
at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream
serializationStream)
at SerFixupErr.Form1.Button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
I cannot find the CLR Version 1.1.4322.2379 documented anywhere but it is
getting installed when our customers apply SP2 to Windows Server 2003.
There appears to be no way to just back out the CLR 1.1 update after the SP2
install so basically installing SP2 on Windows Server 2003 is "breaking" for
us.
I can provide a small program that exhibits this behavior (works on all but
1.1.4322.2379) if that would be helpful. This program is just a modified
version of the program shown in the following feedback (but CLR 2 / VS 2005
related).
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=93814
There appears to be a hotfix (KB931634) for what sounds like a similar
problem in CLR 2.0.
Any assistance would be appreciated.
deseralization with formatter surrogates for some features. It works ok on
CLR Versions 1.1.4322.573, 1.1.4322.2032, and 1.1.4322.2300 however on CLR
Version 1.1.4322.2379 it receives the following exception during
deserialization:
System.Runtime.Serialization.SerializationException: The object with ID 3
was referenced in a fixup but does not exist.
at
System.Runtime.Serialization.ObjectManager.GetCompletionInfo(FixupHolder
fixup, ObjectHolder& holder, Object& member, Boolean bThrowIfMissing)
at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder
holder, Boolean bObjectFullyComplete)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler
handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessage
methodCallMessage)
at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream
serializationStream, HeaderHandler handler, Boolean fCheck,
IMethodCallMessage methodCallMessage)
at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream
serializationStream)
at SerFixupErr.Form1.Button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
I cannot find the CLR Version 1.1.4322.2379 documented anywhere but it is
getting installed when our customers apply SP2 to Windows Server 2003.
There appears to be no way to just back out the CLR 1.1 update after the SP2
install so basically installing SP2 on Windows Server 2003 is "breaking" for
us.
I can provide a small program that exhibits this behavior (works on all but
1.1.4322.2379) if that would be helpful. This program is just a modified
version of the program shown in the following feedback (but CLR 2 / VS 2005
related).
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=93814
There appears to be a hotfix (KB931634) for what sounds like a similar
problem in CLR 2.0.
Any assistance would be appreciated.