1 Reply Latest reply on Jul 15, 2008 10:06 PM by Matt Feider

    License Server Error

    Gunnar Vikberg
      I have attempted to troubleshoot the problem I am having with the license file provided to me by Solidworks. With SW2007, everything worked fine, and even with SW2008 after the upgrade of the Solidworks License Manager to the latest version as specified in the upgrade manual. However, the license has stopped working, and I'm trying to figure out where the problem exists.

      Currently I have tried the following:
      1) Added "VENDOR SW_D" and "USE_SERVER" lines to the license file.
      The error I get at this point is:

      14:22:00 (lmgrd) pid 4080
      14:22:00 (lmgrd) Done rereading
      14:22:00 (lmgrd) FLEXnet Licensing (v11.4.100.0 build 50818 i86_n3) started on myserver (IBM PC) (7/15/2008)
      14:22:00 (lmgrd) Copyright (c) 1988-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
      14:22:00 (lmgrd) US Patents 5,390,297 and 5,671,412.
      14:22:00 (lmgrd) World Wide Web: http://www.macrovision.com
      14:22:00 (lmgrd) License file(s): C:\Program Files\SolidWorks SolidNetWork License Manager\licenses\license.lic
      14:22:00 (lmgrd) lmgrd tcp-port 25734
      14:22:00 (lmgrd) Starting vendor daemons ...
      14:22:00 (lmgrd) Started SW_D (pid 3284)
      14:22:00 (SW_D) Unable to initialize access to trusted storage: 1
      14:22:00 (SW_D) FLEXnet Licensing version v11.4.100.0 build 50818 i86_n3
      14:22:00 (SW_D) Server started on myserver for: solidworks
      14:22:00 (SW_D) dwgeditor
      14:22:00 (SW_D) dongle not connected: (p1=0, p2=0, p3=0, p4=0)
      14:22:00 (SW_D) retry Count = 3
      14:22:01 (SW_D) dongle not connected: (p1=0, p2=0, p3=0, p4=0)
      14:22:01 (SW_D) retry Count = 2
      14:22:01 (lmgrd) Rereading license file... Requested from root@myserver
      14:22:01 (lmgrd) Can't send reread to SW_D: No socket connection to license server manager. (-7,10015)
      14:22:01 (lmgrd) Done rereading
      14:22:01 (lmgrd) ...Finished rereading
      14:22:02 (SW_D) dongle not connected: (p1=0, p2=0, p3=0, p4=0)
      14:22:02 (SW_D) retry Count = 1
      14:22:03 (SW_D) Wrong hostid on SERVER line for license file:
      14:22:03 (SW_D) C:\Program Files\SolidWorks SolidNetWork License Manager\licenses\licenseNEW.lic
      14:22:03 (SW_D) dongle not connected: (p1=0, p2=0, p3=0, p4=0)
      14:22:03 (SW_D) retry Count = 3
      14:22:04 (SW_D) dongle not connected: (p1=0, p2=0, p3=0, p4=0)
      14:22:04 (SW_D) retry Count = 2
      14:22:05 (SW_D) dongle not connected: (p1=0, p2=0, p3=0, p4=0)
      14:22:05 (SW_D) retry Count = 1
      14:22:06 (SW_D) SERVER line says FLEXID=9-xxxxxxxx, hostid is (Can't get hostid of type 15 [Cannot read dongle: check dongle or driver. (-110,511)])
      14:22:06 (SW_D) Invalid hostid on SERVER line
      14:22:06 (SW_D) Disabling 6 licenses from feature dwgeditor(xxxx xxxx xxxx xxxx )
      14:22:06 (SW_D) Disabling 2 licenses from feature solidworks(xxxx xxxx xxxx xxxx )
      14:22:06 (SW_D) EXTERNAL FILTERS are OFF
      14:22:06 (lmgrd) SW_D using TCP-port 4419
      14:22:06 (SW_D) No valid hostids, exiting
      14:22:06 (SW_D) EXITING DUE TO SIGNAL 25 Exit reason 2
      14:22:11 (lmgrd) SW_D exited with status 25 (Invalid host)
      14:22:11 (lmgrd) Please correct problem and restart daemons

      2) Removed "VENDOR SW_D" and "USE_SERVER" lines to the license file.
      Therefore the license looks exactly as sent to me by the automated system.
      The error I get at this point is:

      14:27:57 (lmgrd) pid 1820
      14:27:57 (lmgrd) Done rereading
      14:27:57 (lmgrd) FLEXnet Licensing (v11.4.100.0 build 50818 i86_n3) started on myserver (IBM PC) (7/15/2008)
      14:27:57 (lmgrd) Copyright (c) 1988-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
      14:27:57 (lmgrd) US Patents 5,390,297 and 5,671,412.
      14:27:57 (lmgrd) World Wide Web: http://www.macrovision.com
      14:27:57 (lmgrd) License file(s): C:\Program Files\SolidWorks SolidNetWork License Manager\licenses\license.lic
      14:27:57 (lmgrd) lmgrd tcp-port 25734
      14:27:57 (lmgrd) The license server manager has found no vendor daemons to start
      14:27:57 (lmgrd) (There are no VENDOR (or DAEMON) lines in the license file),
      lmgrd exiting.

      3) Reinstalled the driver using the command line and typing "haspdinst.exe -i".
      Installation was successful, but the problem as shown above remain.

      4) Verified the server had the services "lmgrd.exe", "sw_d.exe", and
      "swlmwiz.exe" were exempt from the DATA EXECUTION PREVENTION rules.
      They are part of the exemption list, but the problem still persists.

      If anyone has any idea of what may be going on, I'd really appreciate the help! We have many people at work that need Solidworks on a daily basis, and not having the server operate properly right now brought their work to a halt.

      Thank you!
      Gunnar
        • License Server Error
          Matt Feider
          your number one above looks right to me but I wonder if you have your first line correct...

          you should have something like

          SERVER MACHINENAME FLEXID=9-4A1857D1 25734

          are you sure you have the flexid in the line above matching your dongle id value. I see "14:22:06 (SW_D) SERVER line says FLEXID=9-xxxxxxxx, hostid is (Can't get hostid of type 15 [Cannot read dongle: check dongle or driver. (-110,511)])" in your error file. Either that line above is incorrect or the driver or dongle stopped working. But if this worked for older version of the software I wouldn't assume that to be the case.

          But if you upgraded the license file it is easy to forget to have the Dongle serial number put in the right place or maybe just a misformatting of the text.