Error: Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout.

Version 1

    Problem

    When using RelayServer.exe /interactive to connect a Ivanti Workspace Control Relay Server to another Relay Server, the following stack trace will be shown.

     

    Error in 'Ivanti Workspace Control Relay Server'

    Error: Type could not be marshaled because the length of an embedded array instance does not match the declared length in the layout.

     

    Version: 10.2.0.0 CS:409722

    Stacktrace:

    at System.StubHelpers.ValueClassMarshaler.ConvertToNative(IntPtr dst, IntPtr src, IntPtr pMT, CleanupWorkList& pCleanupWorkList)

    at System.Net.UnsafeNclNativeMethods.OSSOCK.setsockopt(SafeCloseSocket socketHandle, SocketOptionLevel optionLevel, SocketOptionName optionName, IPv6MulticastRequest& mreq, Int32 optionLength)

    at System.Net.Sockets.Socket.setIPv6MulticastOption(SocketOptionName optionName, IPv6MulticastOption MR)

    at RES.Communication.Multicast.InitiateSocket()

     

     

    Solution

    This issue is resolved in Ivanti Workspace Control Relay Server 10.2.500.0

     

    In case the Minor Release is not (yet) available, or in case the Minor Release cannot be installed, contact Ivanti Support to obtain more information on the availability of a revision.

     

    IMPORTANT: A revision contains multiple fixes. Only apply this revision when you are experiencing a specific problem. Unless you are severely impacted by this specific problem, Ivanti recommends that you wait for the next Minor Release containing these fixes.