Author Topic: Exceptation: index was out of range...  (Read 125 times)


  • Posts: 1
    • View Profile
Exceptation: index was out of range...
« on: June 15, 2020, 08:14:16 pm »
Hey everyone,

can anyone help me withe the following error?

Exceptation: index was out of range. Must be non-negative and less than the size of the collection
parameter name:index

What did I wrong in my setup and how can I fix this problem?

I try to couple MIKE URBAN, 21 and 11 for my masterthesis and get this message in the log-file.

The MIKE URBAN Execution Log Area in the MIKE FLOOD working space says:

Exception: object of type "DHI.Mike1D.Engine.EngineNodeOutlet" can not be converted to type "DHI.Mike1D.Engine.EngineNodeVolume".
System.InvalidCastException, trace:
   bei DHI.Mike1D.MzCouplings.FloodLinkStandard.InitializeSource(EngineNet engineNet)
   bei DHI.Mike1D.MzCouplings.M21Mouse1DCoupling.MouseToM21_Setup_LinkPointDefinition(Int32& rc, Int32& nUrbanLinks, Int32& nocmps, Int32* hdbndtyp, Int32* hdlink, Int32* adlink, Double* directions, Int32& nine)

I do not get this information, too.

I hope you can help me.
I'm new here to this forum and not very used to the MIKE Products and german, so please use easy words

Thanks for the help