Author Topic: AcRxClassName entry is not in the system registry  (Read 2279 times)

0 Members and 1 Guest are viewing this topic.

BazzaCAD

  • Bull Frog
  • Posts: 269
  • Cylons will kill you
AcRxClassName entry is not in the system registry
« on: April 21, 2016, 03:21:58 PM »
AutoCAD 2015 SP2.
My code has been running fine for years with no issues, now all of a sudden I'm getting 2 different "AcRxClassName entry is not in the system registry" errors.

I've narrowed this down to 2 sections of code:

1) When Acad starts up I create some layer filters:
Code - Auto/Visual Lisp: [Select]
  1.         (vlax-Get-Acad-Object)
  2.       )
  3.     )
  4.   )
  5.   "ACAD_LAYERFILTERS"
  6.   "AcDbDictionary"
  7. )

Here I get "error: Automation Error. AcRxClassName entry is not in the system registry" from vla-addobject.
The layer filters commands seem to run fine from the layer properties manager palette.

2) I have commands to draw MLeaders with a specific style, the code check to make sure the styles are already there & if not, creates them.
Code - Auto/Visual Lisp: [Select]
  1. (setq mldrdict (vla-item (vla-get-dictionaries *doc*) "ACAD_MLEADERSTYLE"))
  2. (setq newmldrstyle (vlax-invoke mldrdict 'addobject "BIGARROW" "AcDbMLeaderStyle"))

Here I get "error: AutoCAD.Application: AcRxClassName entry is not in the system registry" from vlax-invoke.
If I just type MLEADER it runs fine.

I've already re-installed Autocad from scratch.
Any other ideas?

a.k.a. Barry Ralphs

Alexander Rivilis

  • Bull Frog
  • Posts: 212
  • Programmer from Kyiv (Ukraine)
Re: AcRxClassName entry is not in the system registry
« Reply #1 on: April 21, 2016, 04:08:16 PM »
Check registry branch:
Code: [Select]
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\ObjectDBX\R20.0\ActiveXCLSID]
"AcDbSortentsTable"="{5EB6721F-506E-4817-B3BF-A4902DDB21AE}"
"AcDbTableStyle"="{73157A89-ABE5-40A5-88E6-C0C94BC718C7}"
"AcDbMLeaderStyle"="{E2C1822C-791C-48BB-AFD0-00890DE860C1}"
"AcDbDictionary"="{8F61C491-AA22-4AB8-8B2D-E24B0AA4303D}"

Code: [Select]
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\ObjectDBX\R20.1\ActiveXCLSID]
"AcDbSortentsTable"="{5EB6721F-506E-4817-B3BF-A4902DDB21AE}"
"AcDbTableStyle"="{73157A89-ABE5-40A5-88E6-C0C94BC718C7}"
"AcDbMLeaderStyle"="{E2C1822C-791C-48BB-AFD0-00890DE860C1}"
"AcDbDictionary"="{8F61C491-AA22-4AB8-8B2D-E24B0AA4303D}"
« Last Edit: April 21, 2016, 04:13:09 PM by Alexander Rivilis »

BazzaCAD

  • Bull Frog
  • Posts: 269
  • Cylons will kill you
Re: AcRxClassName entry is not in the system registry
« Reply #2 on: April 21, 2016, 04:13:50 PM »
Thanks for the reply.
No I don't have any of those....

a.k.a. Barry Ralphs

Alexander Rivilis

  • Bull Frog
  • Posts: 212
  • Programmer from Kyiv (Ukraine)
Re: AcRxClassName entry is not in the system registry
« Reply #3 on: April 21, 2016, 04:33:11 PM »
Thanks for the reply.
No I don't have any of those....
So save code in .reg file, import it and reboot Windows.
P.S.: The same problem was solved: http://forums.autodesk.com/t5/visual-basic-customization/autocad-2015-2016-create-new-tablestyle-method-throwing-error/td-p/6227306

BazzaCAD

  • Bull Frog
  • Posts: 269
  • Cylons will kill you
Re: AcRxClassName entry is not in the system registry
« Reply #4 on: April 21, 2016, 06:26:37 PM »
So save code in .reg file, import it and reboot Windows.
P.S.: The same problem was solved: http://forums.autodesk.com/t5/visual-basic-customization/autocad-2015-2016-create-new-tablestyle-method-throwing-error/td-p/6227306

Yap that did it thanks.
I wonder what caused it to disappear...
a.k.a. Barry Ralphs

Jeff_M

  • King Gator
  • Posts: 3979
  • C3D user & customizer
Re: AcRxClassName entry is not in the system registry
« Reply #5 on: April 21, 2016, 07:02:23 PM »
Yap that did it thanks.
I wonder what caused it to disappear...
Did you do any AutoCAD 2017 Beta testing?

BazzaCAD

  • Bull Frog
  • Posts: 269
  • Cylons will kill you
Re: AcRxClassName entry is not in the system registry
« Reply #6 on: April 21, 2016, 07:03:38 PM »
Did you do any AutoCAD 2017 Beta testing?

Yap. ;-(
a.k.a. Barry Ralphs

Jeff_M

  • King Gator
  • Posts: 3979
  • C3D user & customizer
Re: AcRxClassName entry is not in the system registry
« Reply #7 on: April 21, 2016, 07:10:15 PM »
Yeah, the uninstaller graciously wiped out the ObjectDBX entries for ALL installed versions instead of just the one it was uninstalling. There were many other entries in there....SheetSetManager, TableStyles, etc. I have a good REG file I exported after correcting all of the ones I have installed and lost.

BazzaCAD

  • Bull Frog
  • Posts: 269
  • Cylons will kill you
Re: AcRxClassName entry is not in the system registry
« Reply #8 on: April 21, 2016, 07:21:39 PM »
Is it only in [HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\ObjectDBX\R20.0\ActiveXCLSID]
or are there other locations too?
I can get a reg from another machine.
a.k.a. Barry Ralphs

Jeff_M

  • King Gator
  • Posts: 3979
  • C3D user & customizer
Re: AcRxClassName entry is not in the system registry
« Reply #9 on: April 21, 2016, 07:38:11 PM »
Everything here should be added back from a good install:
[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\ObjectDBX\R20.0\]

Mine has 4 keys, each with multiple entries. I'm pretty sure that 2 of the keys are C3D related, the other one is SheetSetManager.