Arithemtic overflow exception

Aug 19, 2010 at 8:13 AM

I have been using the Pageflow block for quite some time now. Now suddenly, out of the blue, I get the following error:

An Exception ocurred in /Handheld/MainMenu.aspx:

System.Workflow.Activities.EventDeliveryFailedException: Event "SetData" on interface type "WCSFContrib.PageFlow.WorkflowFoundation.IDataExchangeService" for instance id "e18285ac-b080-4b27-b889-2342e8af196e" cannot be delivered. ---> System.OverflowException: Arithmetic operation resulted in an overflow.

at System.Collections.Generic.Dictionary`2.GetObjectData(SerializationInfo info, StreamingContext context)

at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)

at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)

at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)

at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)

at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)

at System.Workflow.Activities.MethodMessage.Clone(Object source)

at System.Workflow.Activities.MethodMessage.Clone()

at System.Workflow.Activities.MethodMessage..ctor(Type interfaceType, String methodName, Object[] args, String identity, Boolean responseRequired)

at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs)

--- End of inner exception stack trace ---

at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs)

at WCSFContrib.PageFlow.WorkflowFoundation.DataExchangeService.Set(Guid instanceId, String key, Object value)

at WCSFContrib.PageFlow.WorkflowFoundation.WorkflowFoundationPageFlowState.Set(String key, Object value)

at WCSFContrib.PageFlow.WorkflowFoundation.WorkflowFoundationPageFlowState.set_Item(String key, Object value)

at WCSFContrib.PageFlow.WorkflowFoundation.WorkflowFoundationPageFlow.Start()

at SACD.Handheld.Library.HandheldPageController.StartNewProcess()

at SACD.Handheld.Web.ExportCargo.MainMenuPage.cmdFloorRelease_Click(Object sender, EventArgs e)

at System.Web.UI.WebControls.Button.OnClick(EventArgs e)

at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)

at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

Sep 17, 2010 at 1:28 PM

Any one?

Where do I start looking to find the problem? Could there be something wrong with the state data that causes this?