Troubleshooting CAD Converter Errors

Troubleshooting CAD Converter Errors

Alert
NOTE:  CAD Converter is not automatically installed as part of the CMM-Manager installation.  It is a separate installer which is included in the CMM-Manager installation .zip file.  The CAD Converter installer must be run after installing CMM-Manager.
Warning
CAD Converter 2022 will not run on Windows 7 installations.  Support for Windows 7 has ended for the Interop drivers.  Users can continue to use CAD Converter 2021 in these situations with no support for the latest CAD versions.

CAD Converter 2021 can be downloaded from here: CAD Converter 2021 (64 bit)

After installing CAD Converter and attempting to import a CAD file in CMM-Manager, certain error messages may pop up indicating CoCreateInstanceFailed, such as the following:



There are a few possible resolutions:
Notes
Note:  Where indicated below, replace xxxx with the CAD Converter version you have installed.  ie: "CMM-Manager CAD Converter 2022"
  1. Try turning off Windows Defender and any other third-party antivirus (Norton, Bitdefender, Avast, etc.). Once this is complete, launch CMM-Manager as admin, then try loading the CAD files again.

  1. Verify that the file CadConverterServer.exe exists in "C:\Program Files\Common Files\QxSoft\CMM-Manager CAD Converter xxxx"
  1. If the file does not exist, uninstall and re-install CAD Converter.
    1. Try launching CMM-Manager and importing the CAD files again.
  1. If the file is present, open an elevated command prompt (Run as Administrator) and run the following command to register the CAD Converter server.
    1. "C:\Program Files\Common Files\QxSoft\CMM-Manager CAD Converter xxxx\CadConverterServer.exe" /regserver
    2. Try launching CMM-Manager and importing the CAD files again.
  1. If you are still receiving an error similar to what's pictured above stating "Error initializing the CAD conversion module" with error code "800800005", and the message "Server execution failed", try the following:

    1. Navigate to "C:\Program Files\Common Files\QxSoft\CMM-Manager CAD Converter xxxx" and manually launch CadConverterServer.exe.
    2. Nothing will visibly be running, but CAD Converter Server should be running in the background if you check the process list in Task Manager:

    1. Try launching CMM-Manager and importing the CAD files again.

  1. If you receive an error message indicating a missing DLL, ie: "The program can't start because CONCRT140.dll is missing from your computer", you will need to manually re-install the Microsoft Visual C++ 2015-2019 Redistributable:
    1. Download and install the 64-bit redistributable: https://aka.ms/vs/16/release/vc_redist.x64.exe
    2. Download and install the 32-bit redistributable: https://aka.ms/vs/16/release/vc_redist.x86.exe
    3. Try launching CMM-Manager and importing the CAD files again.

  1. If you receive an error message indicating a missing DLL, ie: "The program can't start because api-ms-win-core-path-l1-1-0.dll is missing from your computer", and you are running Windows 7, Windows 7 is no longer supported from CAD Converter 2022 forward.  See the warning at the top of this article.

Another issue has been seen where a fatal error occurs creating a dump file after attempting to import a CAD file in CMM-Manager:



Followed by an error indicating CoCreateInstanceFailed (message - "Server execution failed"):


  1. First, verify the steps outlined above in the article, i.e. - ensure no 3rd party anti-virus is enabled, ensure CadCovnerterServer.exe exists in the Program Files folder, and run the "CadConverterServer.exe /regserver" command from an administrator/elevated command prompt.
  2. Try re-importing the target CAD model from CMM-Manager again.
  3. If there is still an issue, there is likely problems with the system installed Microsoft Visual C++ 2015-2022 Redistributable. To fix:
    1. In Windows, go to Settings > Installed apps / Apps & features.
    2. Locate the program entry in the list for "Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.34.3198"
      1. Note - this might be listed as "Microsoft Visual C++ 2015-2019 ..." from older CMM-Manager installations. This is still the target entry you want to select.
      2. If this is a 32-bit system, look for the entry "Microsoft Visual C++ 2015-2022 Redistributable (x86) ..." instead.
    3. Click the entry for expanded options (or click "...") and select "Modify".
    4. In the Modify Setup popup, select "Repair":

    5. Restart the system after the installation finishes and try launching CMM-Manager again and importing the target CAD model.

    • Related Articles

    • Troubleshooting CAD surface picking issues

      Depending on the design of the imported CAD, picking certain surfaces could yield unintended results as described below: Inability to select a specific edge accurately Points vector normal are not consistent across an edge  Points generated from a ...
    • Losing CAD model in graphical report - Run Results File

      Possible issue: Any time you save a run file from a program that uses CAD models for graphical reports, those same graphics remain in those run files. However, if a change is made to the run file and saved, the CAD model disappears from the graphical ...
    • Training / Demo Part CAD Models

      Below are several training / demo block CAD models... Just click the image of the part you're interested in to download the CAD model.
    • Adding CAD Furniture

      What is Furniture? The furniture feature allows a user to define fixed models in the workspace that the system will consider when planning paths to avoid collisions. These furniture pieces will remain at their defined location and orientation when ...
    • Programming with Part and Fixture CAD Models

      The main advantage of utilizing the fixture CAD file in conjunction with the part model is that CMM-Manager will generate a measurement path to avoid both details, eliminating any manual adjustments. For example, programming the part shown in the ...