Corridor Modeler Cross Section Labeling error "Object variable or With block variable not set"

When I try running the cross section labeling tool out of the Corridor Modeling window I get an error

 

Run-time error '91':

Object variable or With block variable not set

 

I have the options to "End", "Debug", or "Help"

"Debug" opens VBA editor which is far beoynd my experince to use. "End" closes the processes without starting the labeling tool. "Help" opens a help window which hasn't been very helpful.

 

How can I get cross section labeler to run? I've restarted multiple times and tried creating a new file and copying in the cross sections to a clean file. Any suggestions?

I'm using V8i, Select series 2.

Thanks

Parents
  • It may also be useful to know that this appears to be a problem unique to a single dgn. I have multipe cross section files on this project and all files can have been labeled successfully but one.

  • This is usually a registry problem ... you can try self-registering the dll.

    1.)     Close all DGN files

    2.)    Bring up the dos prompt and change directory ("cd") to the following location (may be slightly different on your computer):

           cd  C:\Program Files (x86)\Common Files\Bentley Shared\GEOPAK\                    

    3.)     Key-In "REGSVR32 BentleyControls.ocx" and press Enter.

    You should get a message "DllRegistryServer in BentleyControls.ocx succeeded"

    4.)     Now exit the dos prompt, go back into your DGN file and try again.

    Derricke


    This is a test

Reply
  • This is usually a registry problem ... you can try self-registering the dll.

    1.)     Close all DGN files

    2.)    Bring up the dos prompt and change directory ("cd") to the following location (may be slightly different on your computer):

           cd  C:\Program Files (x86)\Common Files\Bentley Shared\GEOPAK\                    

    3.)     Key-In "REGSVR32 BentleyControls.ocx" and press Enter.

    You should get a message "DllRegistryServer in BentleyControls.ocx succeeded"

    4.)     Now exit the dos prompt, go back into your DGN file and try again.

    Derricke


    This is a test

Children