Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29323

Problem with launching AutoCAD inside Jenkins using AutoCAD API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Critical Critical
    • core
    • Jenkins 1.619
      installed plugins - none
      win 8 x64

      I'm having problem when I trying launch AutoCAD inside Jenkins using AutoCAD API :

      System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {0B628DE4-07AD-4284-81CA-5B439F67C5E6} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
        at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
        at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
        at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
        at System.Activator.CreateInstance(Type type, Boolean nonPublic)
        at System.Activator.CreateInstance(Type type)
      
      

      I don't faced with this issues outside Jenkins.

      Below presented the C# code which launch AutoCAD, and working perfectly outside Jenkins :

                  AcadApplication acadApp;
                  AcadDocument acadDoc;
                  acadApp = new AcadApplication();
                  acadApp.Visible = false;
                  string pathh = Path.GetFullPath(path);
      

            galaxyblazer Volodymyr Hnatiuk
            galaxyblazer Volodymyr Hnatiuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: