Posts

Issue with database connection when using borrowed license i Autocad

Solution for Issue: Elmaster Design Not Establishing Database Connection 

Introduction 

When AutoCAD runs with a borrowed license, a popup can disrupt initialization, affecting the Ides CAD-driver COM-server and causing the application to switch to standalone mode. 

Problem definition

The popup that appears when the AutoCAD license is borrowed prevents proper initialization, causing the COM-server not to load in a timely manner, and the driver fails to connect to the database. 

Solution 

Run the MCSTARTUP command manually: 

  1. Once all components have loaded, open the command prompt in AutoCAD. 
  2. Execute MCSTARTUP to initiate the connection. 

Preventive Measures 

  • Manage AutoCAD licenses. Avoid borrowing licenses if possible. 

Summary 

To resolve the issue, manually run MCSTARTUP after AutoCAD/MasterDesign has fully loaded.

Check the license configuration and avoid borrowing licenses to prevent the problem. 

References and Resources 

AutoCAD Error Report

Sometimes when you close elMaster design or proMaster design you get an AutoCAD Error Report. This error can be found in version 11.0 and version 12.0. The error in itself is harmless but somewhat irritating. We have now found a solution that will remove the error from occurring.

AutoCAD Error Report
AutoCAD Error Report
Solution

The solution is to turn of the AutoCAD InfoCenter Toolbar and then you will no longer get the AutoCAD Error Report
InfoCenter
This can be done in two ways:

  1. Change in register. For example the AutoCAD 2015
    “HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R20.0\ACAD-E001:409\InfoCenter\InfoCenterOn” to 0
  2. Run this Lisp in the Command Prompt in AutoCAD, This lisp command can be added to the EPC_HOOK.LSP. But it only needs to be ran once to solve the problem.
    • (progn (vl-load-com) (vl-registry-write (strcat “HKEY_CURRENT_USER\\”
      (vlax-product-key) “\\InfoCenter”) “InfoCenterOn” 0))