System.Reflection.TargetInvocationException crash when trying to open the application


Product(s):WaterGEMS, WaterCAD, HAMMER
Version(s):10.00.00.50
Area:Other

Problem

When attempting to open the application using the standard shortcut (the Standalone version), the application crashes, with the following details seen:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method, Object target, SerializationInfo info, StreamingContext& context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
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, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader._LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObject(Int32 pos)
at System.Resources.ResourceReader.ResourceEnumerator.get_Entry()
at System.Resources.ResourceReader.ResourceEnumerator.get_Current()
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName, CultureInfo culture)
at Haestad.RSS.RssReader.InitializeComponent()
at Haestad.RSS.RssReaderUserControl..ctor()
at Haestad.Drawing.Control.Components.RssReaderDockingControl.InitializeComponent()
at Haestad.Drawing.Control.Components.RssReaderDockingControl..ctor()
at Haestad.Drawing.Control.Components.RssReaderUserControlProxy.NewWrappedControl()
at Haestad.Framework.Windows.Forms.Components.HaestadDockingUserControlProxy.DoLazyInitialization()
at Haestad.Drawing.Control.Application.GraphicalParentFormUIModelBase.DoLazyInitialization()
at Haestad.Water.Forms.Application.WaterParentFormUIModelBase.DoLazyInitialization()
at Haestad.Idaho.Application.IdahoParentFormUIModel.DoLazyInitialization()
at Haestad.Drawing.Control.Forms.GraphicalDrawingParentForm.DoLazyInitialization(Boolean lazyInitialize)
at Haestad.Drawing.Control.Forms.GraphicalDrawingParentForm.FileOpen()
at Haestad.Drawing.Control.Forms.GraphicalDrawingParentForm.OpenModel()

Solution

This has been known to occur on computers with the Hebrew version of Windows and is related to the RSS Feeds feature.

First, try upgrading to a newer version if possible (See steps here.) and ensure that you are using a compatible Operating System. Also, try performing a clean reinstallation.

If this does not help, please contact Technical Support about a potential fix involving removal of the RSS feed feature to overcome this issue.

See Also