[CONNECT .NET] Problem starting .NET AddIn on earlier version of MicroStation

I developed an AddIn using the .NET API delivered with MicroStation CONNECT Update 14.2.  The AddIn works fine on my computer.

When customer attempts to load the AddIn using MicroStation CONNECT Update 10, it fails.  The full error dump is attached, but the first few lines tell me that Bentley.Internal.MstnPlatformNET.DotNetShim.LauncherDotNetShim.Launcher.LoadMdlProgram is the culprit.

Can anyone throw light on this?  That Launcher error looks like internal MicroStation stuff that I can't fix.  What .NET differences are there between Update 10 and Update 14 — are those differences responsible for this problem?


See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.Assembly.GetTypes()
   at Bentley.Internal.MstnPlatformNET.DotNetShim.Launcher.GetAddInTypeThroughReflection(Int32* statusCodeP, String* taskIDOverridePP, String assemblyRootName, String taskId)
   at Bentley.Internal.MstnPlatformNET.DotNetShim.Launcher.LoadMdlProgram(IntPtr statusCodeP, String mdlAppNameParam, String taskID, IntPtr forkFunc, IntPtr forkParams)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
MicroStation
    Assembly Version: 0.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/MicroStation.exe
----------------------------------------
Bentley.PowerPlatform.FeatureAspects
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Bentley.PowerPlatform.FeatureAspects.DLL
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ustation
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/ustation.DLL
----------------------------------------
Bentley.General.1.0
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.General.1.0.DLL
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Bentley.DgnPlatformNET
    Assembly Version: 1.0.0.0
    Win32 Version: 02.15.02.27
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Bentley.DgnPlatformNET.DLL
----------------------------------------
Bentley.MicroStation.Interfaces.1.0
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.Interfaces.1.0.DLL
----------------------------------------
Microsoft.ApplicationBlocks.ExceptionManagement.1.0
    Assembly Version: 1.0.0.0
    Win32 Version: 01.00.00.01
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Microsoft.ApplicationBlocks.ExceptionManagement.1.0.DLL
----------------------------------------
Bentley.ECObjects3
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.ECObjects3.DLL
----------------------------------------
Bentley.Platform
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.Platform.DLL
----------------------------------------
Bentley.GeometryNET.Common
    Assembly Version: 1.0.0.0
    Win32 Version: 02.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Bentley.GeometryNET.Common.DLL
----------------------------------------
Bentley.GeometryNET.Structs
    Assembly Version: 1.0.0.0
    Win32 Version: 02.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Bentley.GeometryNET.Structs.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Bentley.Exceptions
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.Exceptions.DLL
----------------------------------------
Bentley.logging-2.0
    Assembly Version: 2.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.logging-2.0.DLL
----------------------------------------
Bentley.UI.Vendor.Wpf
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.UI.Vendor.Wpf.DLL
----------------------------------------
PresentationFramework
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4220.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Bentley.UI
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.UI.DLL
----------------------------------------
Telerik.Windows.Controls
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.DLL
----------------------------------------
Telerik.Windows.Themes.VisualStudio2013
    Assembly Version: 2017.2.1717.40
    Win32 Version: 2017.2.1717.40
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Themes.VisualStudio2013.DLL
----------------------------------------
Telerik.Windows.Controls.Input
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.Input.DLL
----------------------------------------
Telerik.Windows.Controls.Navigation
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.Navigation.DLL
----------------------------------------
Telerik.Windows.Data
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Data.DLL
----------------------------------------
Telerik.Windows.Controls.Chart
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.Chart.DLL
----------------------------------------
Telerik.Windows.Controls.Data
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.Data.DLL
----------------------------------------
Telerik.Windows.Controls.Docking
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.Docking.DLL
----------------------------------------
Telerik.Windows.Controls.Expressions
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.Expressions.DLL
----------------------------------------
Telerik.Windows.Controls.FixedDocumentViewers
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.FixedDocumentViewers.DLL
----------------------------------------
Telerik.Windows.Controls.GridView
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.GridView.DLL
----------------------------------------
Telerik.Windows.Controls.ImageEditor
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.ImageEditor.DLL
----------------------------------------
Telerik.Windows.Themes.Office2013
    Assembly Version: 2017.2.1717.40
    Win32 Version: 2017.2.1717.40
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Themes.Office2013.DLL
----------------------------------------
Telerik.Windows.Controls.RibbonView
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.RibbonView.DLL
----------------------------------------
Telerik.Windows.Controls.RichTextBoxUI
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.RichTextBoxUI.DLL
----------------------------------------
Telerik.Windows.Documents
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Documents.DLL
----------------------------------------
Telerik.Windows.Controls.ScheduleView
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.ScheduleView.DLL
----------------------------------------
Telerik.Windows.Controls.Diagrams
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.Diagrams.DLL
----------------------------------------
Telerik.Windows.Diagrams.Core
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Diagrams.Core.DLL
----------------------------------------
Telerik.Windows.Controls.Diagrams.Extensions
    Assembly Version: 2017.2.1717.45
    Win32 Version: 2017.2.1717.45
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Controls.Diagrams.Extensions.DLL
----------------------------------------
Telerik.Windows.Documents.Core
    Assembly Version: 2017.2.1717.40
    Win32 Version: 2017.2.1717.40
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/Telerik.Windows.Documents.Core.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
Bentley.RibbonView
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.RibbonView.DLL
----------------------------------------
Bentley.MicroStation.Ribbon
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.Ribbon.DLL
----------------------------------------
Bentley.Connect.Client.API
    Assembly Version: 1.0.0.0
    Win32 Version: 10.00.10.19
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Bentley.Connect.Client.API.DLL
----------------------------------------
Bentley.MicroStation
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.DLL
----------------------------------------
Bentley.MicroStation.WPF
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.WPF.DLL
----------------------------------------
MdlSeed
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/asneeded/MdlSeed.DLL
----------------------------------------
Bentley.TableUI
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.TableUI.DLL
----------------------------------------
Bentley.Visualization.RenderRibbonToolbar
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.Visualization.RenderRibbonToolbar.DLL
----------------------------------------
Bentley.Visualization.LightsRibbonToolbar
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.Visualization.LightsRibbonToolbar.DLL
----------------------------------------
Bentley.Visualization.MaterialsRibbonToolbar
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.Visualization.MaterialsRibbonToolbar.DLL
----------------------------------------
Bentley.DrawingScale
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.DrawingScale.DLL
----------------------------------------
Bentley.ViewGroupList
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.ViewGroupList.DLL
----------------------------------------
Bentley.ViewGroupHistory
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.ViewGroupHistory.DLL
----------------------------------------
Bentley.Macros.UI
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/asneeded/Bentley.Macros.UI.DLL
----------------------------------------
Bentley.Macros
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/asneeded/Bentley.Macros.DLL
----------------------------------------
System.Windows.Interactivity
    Assembly Version: 4.0.0.0
    Win32 Version: 2.0.20520.0
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Telerik/System.Windows.Interactivity.DLL
----------------------------------------
PresentationFramework-SystemXml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3761.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
----------------------------------------
Bentley.DialogManager
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.DialogManager.DLL
----------------------------------------
Bentley.MicroStation.MiniToolbar
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.MiniToolbar.DLL
----------------------------------------
PresentationFramework.Aero2
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll
----------------------------------------
Bentley.Connect.Client.Service.Interface
    Assembly Version: 1.0.0.0
    Win32 Version: 10.00.10.19
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Bentley.Connect.Client.Service.Interface.DLL
----------------------------------------
Bentley.Select.Shareable
    Assembly Version: 1.0.0.0
    Win32 Version: 10.00.10.19
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Bentley.Select.Shareable.DLL
----------------------------------------
System.ComponentModel.Composition
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3761.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll
----------------------------------------
Common.Logging
    Assembly Version: 3.3.1.0
    Win32 Version: 3.3.1.0
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Common.Logging.DLL
----------------------------------------
Common.Logging.Core
    Assembly Version: 3.3.1.0
    Win32 Version: 3.3.1.0
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Common.Logging.Core.DLL
----------------------------------------
MetadataViewProxies_ba13167d-2d34-4cc7-bc69-a6abba84b33f
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.3761.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
SMDiagnostics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.ServiceModel.Internals
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
Bentley.StartScreen
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.StartScreen.DLL
----------------------------------------
Bentley.Recommendation.API1
    Assembly Version: 1.0.0.0
    Win32 Version: 10.00.10.19
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.Recommendation.API1.DLL
----------------------------------------
UIAutomationTypes
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
UIAutomationProvider
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
MarkupAddIn
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/required/MarkupAddIn.DLL
----------------------------------------
Bentley.DgnDisplayNET
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Bentley.DgnDisplayNET.DLL
----------------------------------------
Bentley.iModelAttach
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.iModelAttach.DLL
----------------------------------------
Bentley.MicroStation.Templates
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.Templates.DLL
----------------------------------------
Bentley.MicroStation.Templates.Support
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.Templates.Support.DLL
----------------------------------------
Bentley.MicroStation.WinForms.ECPropertyPane
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.WinForms.ECPropertyPane.DLL
----------------------------------------
Bentley.MicroStation.WinForms.Controls
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.WinForms.Controls.DLL
----------------------------------------
Bentley.MicroStation.MaterialControl
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.MaterialControl.DLL
----------------------------------------
Bentley.TerrainModel.ElementTemplate
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.TerrainModel.ElementTemplate.DLL
----------------------------------------
TerrainModelHandlerApp
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/asneeded/TerrainModelHandlerApp.DLL
----------------------------------------
Bentley.ExpressionEvaluator
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.ExpressionEvaluator.DLL
----------------------------------------
Bentley.TerrainModelNET.Element
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/asneeded/Bentley.TerrainModelNET.Element.DLL
----------------------------------------
Bentley.ECSystem3
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.ECSystem3.DLL
----------------------------------------
Bentley.EC.AbstractUI3
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.EC.AbstractUI3.DLL
----------------------------------------
Bentley.RSS
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.RSS.DLL
----------------------------------------
Bentley.RSS.Interop
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.RSS.Interop.DLL
----------------------------------------
Bentley.MicroStation.PWCatalog
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.PWCatalog.DLL
----------------------------------------
Bentley.CatalogService.Api.Interfaces
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.27
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.CatalogService.Api.Interfaces.DLL
----------------------------------------
Bentley.CatalogService.PublishingDialog
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.27
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.CatalogService.PublishingDialog.DLL
----------------------------------------
Bentley.Visualization.TypeEditors
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/asneeded/Bentley.Visualization.TypeEditors.DLL
----------------------------------------
CivilEH
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/asneeded/CivilEH.DLL
----------------------------------------
Bentley.DesignlinksApp
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/asneeded/Bentley.DesignLinksApp.DLL
----------------------------------------
Bentley.EC.Controls3
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.EC.Controls3.DLL
----------------------------------------
Bentley.ExtensionDiscovery
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.ExtensionDiscovery.DLL
----------------------------------------
Bentley.EC.Persistence3
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/BENTLEY.EC.PERSISTENCE3.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Bentley.EC.Presentation3
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/BENTLEY.EC.PRESENTATION3.DLL
----------------------------------------
Bentley.MicroStation.ECIntegration
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/BENTLEY.MICROSTATION.ECINTEGRATION.DLL
----------------------------------------
Bentley.RuleDrivenPresentationECPlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/extensions/Bentley.RuleDrivenPresentationECPlugin.DLL
----------------------------------------
Bentley.RuleDrivenPresentationECPlugin.PresentationRules
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/extensions/Bentley.RuleDrivenPresentationECPlugin.PresentationRules.DLL
----------------------------------------
Bentley.DgnECPlugin3
    Assembly Version: 1.0.0.0
    Win32 Version: 04.15.02.27
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/extensions/Bentley.DgnECPlugin3.DLL
----------------------------------------
CifDWGExportManager
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/asneeded/CifDWGExportManager.DLL
----------------------------------------
Bentley.StatusCursorPrompt
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/asneeded/Bentley.StatusCursorPrompt.DLL
----------------------------------------
Bentley.MicroStation.CursorPrompt
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.CursorPrompt.DLL
----------------------------------------
DgnDisplayUI2
    Assembly Version: 1.0.0.0
    Win32 Version: 03.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/DgnDisplayUI2.DLL
----------------------------------------
Bentley.MessageCenter
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlsys/required/Bentley.MessageCenter.DLL
----------------------------------------
Bentley.ECObjects.MixedMode3
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.ECObjects.MixedMode3.DLL
----------------------------------------
Bentley.PropertyManager
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.PropertyManager.DLL
----------------------------------------
Bentley.Windowing
    Assembly Version: 1.0.0.0
    Win32 Version: 09.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/ECFramework/Bentley.Windowing.DLL
----------------------------------------
Bentley.MicroStation.WinForms.Docking
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.MicroStation.WinForms.Docking.DLL
----------------------------------------
DgnDisplayCSUI2
    Assembly Version: 1.0.0.0
    Win32 Version: 03.15.02.28
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/DgnDisplayCSUI2.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
PresentationFramework-SystemData
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4220.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemData/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemData.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Bentley.Interop.MicroStationDGN
    Assembly Version: 8.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.Interop.MicroStationDGN.DLL
----------------------------------------
Bentley.CatalogService.CatalogExplorer
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.27
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.CatalogService.CatalogExplorer.DLL
----------------------------------------
Bentley.CatalogService.Api
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.27
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.CatalogService.Api.DLL
----------------------------------------
Bentley.RSS.Common
    Assembly Version: 1.0.0.0
    Win32 Version: 10.10.00.23
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Assemblies/Bentley.RSS.Common.DLL
----------------------------------------
Ali.MicroStation2020
    Assembly Version: 20.10.13.0
    Win32 Version: 10.0.14.2
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlapps/ALi.MicroStation2020.DLL
----------------------------------------
System.Net.Http
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.1.0
    Assembly Version: 1.0.0.0
    Win32 Version: 01.00.00.02
    CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.1.0.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Parents
  • Hi ,

    Unfortunately the .NET Exception Dialog text does not often provide enough detail/precision to fully resolve the underlying issue/conditions though provides some general insights related to the problem.

    Each exception/crash dump is like a fingerprint (each problem unique and often different) and best to Collect Exception Data using a client tool like DebugDiag to capture (ok) small memory (but w/o heaps) or (better) full memory (w/heaps, handles, .NET troubleshooting, etc.) dump files that can be used to help resolve issues with greater precision. See also: Debug Microsoft Apps.

    However the general message Jan points out along with significant software version differences and probably equally important; a "deployed" customization; I suggest taking a look at your application References and/or Installer and confirm proper your custom .NET assemblies are being deployed as needed.

    1. Does your installer register your custom assemblies in the client GAC?
    2. If not, are your assemblies in a predictable and readily resolved path?

    For either deployment condition that you need to know (or enforce) ahead of time make sure the Project Reference property of CopyLocal is set accordingly; CopyLocal=false for GAC registration, or CopyLocal=true for DLL/Assembly path discovery.

    HTH,
    Bob



Reply
  • Hi ,

    Unfortunately the .NET Exception Dialog text does not often provide enough detail/precision to fully resolve the underlying issue/conditions though provides some general insights related to the problem.

    Each exception/crash dump is like a fingerprint (each problem unique and often different) and best to Collect Exception Data using a client tool like DebugDiag to capture (ok) small memory (but w/o heaps) or (better) full memory (w/heaps, handles, .NET troubleshooting, etc.) dump files that can be used to help resolve issues with greater precision. See also: Debug Microsoft Apps.

    However the general message Jan points out along with significant software version differences and probably equally important; a "deployed" customization; I suggest taking a look at your application References and/or Installer and confirm proper your custom .NET assemblies are being deployed as needed.

    1. Does your installer register your custom assemblies in the client GAC?
    2. If not, are your assemblies in a predictable and readily resolved path?

    For either deployment condition that you need to know (or enforce) ahead of time make sure the Project Reference property of CopyLocal is set accordingly; CopyLocal=false for GAC registration, or CopyLocal=true for DLL/Assembly path discovery.

    HTH,
    Bob



Children
  • are your assemblies in a predictable and readily resolved path?

    It's an unexceptional .NET AddIn, and depends on the usual MicroStation and .NET assemblies.

    What's different?

    1. Uses Newtonsoft.Json.DLL, which is copied to the ..\MicroStation folder
    2. Uses WPF rather than Windows Forms
    3. Has .NET wrappers around the ProjectWise API

     
    Regards, Jon Summers
    LA Solutions

  • Hi ,

    Can you confirm your Newtonsoft.Json.dll in the mdlapps folder is the one being loaded, or is MicroStation, ProjectWise, CONNECT Client/Advisor, or another Bentley (PowerPlatform based) product's delivered library being loaded? e.g.

    C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\Assemblies\Newtonsoft.Json.dll
    C:\Program Files\Common Files\Bentley Shared\CONNECT Advisor\Newtonsoft.Json.dll
    C:\Program Files\Common Files\Bentley Shared\CONNECTION Client\Newtonsoft.Json.dll
    C:\Program Files\Common Files\Bentley Shared\CONNECTION Client\LicService\Newtonsoft.Json.dll

    I suggest to either collect a full memory dump that would contain data and data structures to help troubleshoot a related call stack, params, objects or structs, use Microsoft Process Monitor to help identify what resource(s) are not being properly resolved.

    Microsoft Process Monitor can provide data that helps explain what resources are not: found, registered, or having proper access permissions and often provide application call stacks (for apps having Microsoft Symbols - pdbs). Procmon may be the best place to start.

    HTH,
    Bob



  • ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ----------------------------------------

    Can you confirm your Newtonsoft.Json.dll in the mdlapps folder is the one being loaded

    Microsoft attempted to solve DLL hell many years ago (introduced by COM), and succeeded in introducing an alternative with .NET.

    The version of Newtonsoft.Json.dll is important, and the others you mention are known not to be the correct version.  Consequently, the AddIn traps the call to load that DLL and loads the correct version from a known location.  That solution was answered in this post.

    I've tested the app on my computer with and without that DLL and confirm that the dynamic load operates correctly.  I also asked customer to copy that DLL to the MicroStation folder and the problem persists.

    I eliminated Newtonsoft.Json.dll as a suspect by writing a new app.  The app does almost nothing but make a single call to that DLL to serialize a C# class using the Json API.  The app also includes the logic to find the correct version of the DLL.  It behaves correctly: in other words, it must successfully find the DLL in order to call the Json deserialize method.


    Notice that my assembly is among the Loaded Assemblies listed in the error message...

        MicroStation
    
        Assembly Version: 0.0.0.0
    
        Win32 Version: 10.14.02.01
    
        CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/MicroStation.exe
    
    ----------------------------------------
    ...
    many others
    ...
    ----------------------------------------
    
    My.MicroStation2020
    
        Assembly Version: 20.10.22.2
    
        Win32 Version: 10.0.13.0
    
        CodeBase: file:///C:/Program%20Files/Bentley/MicroStation%20CONNECT%20Edition/MicroStation/mdlapps/My.MicroStation2020.DLL
    
    ----------------------------------------
    
    System.Net.Http
    
        Assembly Version: 4.0.0.0
    
        Win32 Version: 4.8.3761.0 built by: NET48REL1
    
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
    
    ----------------------------------------
    

     
    Regards, Jon Summers
    LA Solutions

  • Hi ,

    Is it possible to have the user provide some data to troubleshoot the problem further?

    1. Possibly output from this targeted tool: Fuslogvw.exe (Assembly Binding Log Viewer)
    2. Otherwise a Microsoft Process Monitor log (Save All Events as PML) including the Start of MicroStation and Stops recording once The Event occurs.

    If you can get either of these they should certainly help identify what we cannot see.  Feel free to zip and share letting me know the posted file name so I can try to help further.

    HTH,
    Bob



  • Is it possible to have the user provide some data to troubleshoot the problem further?

    Debugging remotely, particularly in these days of Covid 19 restrictions, is tough.  In normal times I would visit the customer and use your suggested tools to diagnose the problem.

    Consequently, I'm reliant on customer to perform that task.  I've passed your hints to them, so we'll see what results.

     
    Regards, Jon Summers
    LA Solutions

  • Hi ,

    I completely understand (and sympathize) with some additional impacts of working remotely, though I assure you almost any problem we have to troubleshoot; unless there is a very specific error code and/or message and easy/readily reproducible conditions - to ensure correct problem identification - then we need to "follow the data" (and filter through it) to become efficient and precise with recommendations and solutions.

    Each time I am "in the neighborhood" of a certain new or known problem type I often step back and ask myself: 1.) Do I understand what is the real: question, problem, or overall goal/workflow to be achieved is, and 2) What is the best way (w/data), tools and technique(s) used; to assess/collect and prove out a theory to root cause to provide a resolution, recommendation, or work-around.  In theory, using these techniques mentioning/sharing and/or documenting them as we should all be able to improve our troubleshooting techniques and tools used towards resolution of issues.

    In the interest of sharing best practices and workflows I just added a reference item Debugging General that (for me) really changed how I see and approach problem solving quickly and efficiently.  The David J. Agains (free) "Debugging Rules Poster" is one I highly recommend for anyone (actually everyone) that has to debug: software, hardware, systems and imho - YES - even some of life's challenges and problems.  I also provide a link to the full Debugging Rules Book available on Amazon.

    Please let me know if you receive any data and I be glad to assist.

    HTH,
    Bob



  • Please let me know if you receive any data

    Thanks for your help and offer of assistance.

    Customer has solved the problem: there were a large number of DLLs (both System and third-party assemblies) they copied to ..\MicroStation\mdlapps.  MicroStation was able to load the AddIn.

     
    Regards, Jon Summers
    LA Solutions

    Answer Verified By: Jon Summers 

  • Hi ,

    Very glad to hear you and the user could resolve the issue.

    Thank you,
    Bob