Dot Net Framework error when opening MicroStation V8i



User gets Dot Net Framework error when opening MicroStation V8i


Following is the information from the Dot Net error, "Details" section.

************** Exception Text **************
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Bentley.MicroStation.Exceptions.CommandTableException: Keyin "CONNECTAdvisor CONTEXTUAL START" not mapped to method in AddIn CONNECTAdvisor.CONNECTAdvisorMain
   at Bentley.Internal.MicroStation.CommandTables.RegisterCommandNumbers(KeyinTree tree, AddIn app)
   at Bentley.Internal.MicroStation.CommandTables.LoadKeyinTables(String xmlFileName, AddIn app)
   at Bentley.MicroStation.AddIn.Initialize(IntPtr mdlDescriptor, String appXmlFileFqn)
   at Bentley.MicroStation.AddIn..ctor(IntPtr mdlDescriptor)
   at CONNECTAdvisor.CONNECTAdvisorMain..ctor(IntPtr mdlDescIn)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Bentley.MicroStation.AddIn.Load(String[] commandTail, IntPtr mdlDesc)

Try the following steps to solve the issue. If a given step is not working, go to the next one:

  1. Update CONNECT Advisor to latest version (Bentley CONNECT Advisor CONNECT Edition (English) - Version:
  2. Perform a Dot Net Repair:
  3. Turn off Connect Advisor and see if Product loads:

V8i - ZIP the following files (backup) and delete it from the locations.

C:\ProgramData\Bentley\MicroStation V8i (SELECTseries)\WorkSpace\System\GUI\CONNECTAdvisor.dgnlib

C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\config\appl\CONNECTAdvisor.cfg

See Also

CONNECT Advisor error when MicroStation is started