To fix unhandled exception error “Index was outside the bounds of the array” while launching Auto Elbow Tool in OpenPlant Specification Generator
While launching Auto Elbow Tool in OpenPlant Specification Generator an unhandled exception error of Index was outside the bounds of the array threw as shown below.
This issue arises when classes for bend/elbow records are changed from the spec. For definition of Auto Elbow, EC_CLASS_NAME & relevant sizes are defined in Auto Elbow Dialog. If EC_CLASS_NAME list defined in the Auto Elbow Dialog box is not present in the Bend/Elbow section, above unhandled exception error will occur. By defining Auto Elbow definition & saving the specs, it automatically generates AUTO_BEND Table in the Microsoft access (*.mdb) file of the spec. See image below.
Navigate to your root folder where spec is saved. Open the spec & Open AUTO_BEND table. Notice the EC_CLASS_NAME list.
Inspect your spec by opening in OpenPlant Specification Generator. Navigate to Elbow/Bend section.In Bend/Elbow section there must be definition/list of classes that are written in the AUTO_BEND table. Missing of any class from Bend/Elbow section that is present in AUTO_BEND table of Microsoft Access will result into crash.
Compare the class list of Bend Section & AUTO_BEND table, classes are missing in the BEND section. Selecting Auto Elbow Option will pop an error message as shown above.
Note: An elementary knowledge of Microsoft-Access is required to fix this issue.
If above problem still persist, then please create a Service Request and contact the Bentley Product Advantage group. Please include a list of all relevant details to get in depth analysis for a solution or workaround.
http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/25346.error-an-internal-error-occurred-could-not-start-responsive-microstation-server
Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!