I'm not sure what your doing, If you can post a sample project it may help.
C:\Program Files\AutoCAD 2010\acdbmgd.dll
C:\Program Files\AutoCAD 2010\acmgd.dll
These should be pointed here.
---------------------------
(defun botsbuildbots() (botsbuildbots))