AnsweredAssumed Answered

there is no valid client license on this machine(24)

Question asked by Vinay Suresh on Nov 21, 2016
Latest reply on Dec 9, 2016 by Andrew Johnson

Hi,

I am trying to "check in" the file through API in SolidworksWPDM 2012 version and I am getting this error. Please find the below api code used:

 

Dim con As PDMWConnection

        con = CreateObject("PDMWorks.PDMWConnection")

        con.Login("pdmwadmin", "pdmwadmin", "localhost")

 

 

Dim filename As System.String = "D:\VaultData\projects"

        Dim project As System.String = "test"

        Dim Number As System.String = Nothing

        Dim Description As System.String = Nothing

        Dim note As System.String = Nothing

        Dim i_revOption As PDMWRevisionOptionType = Nothing

        Dim Revision As System.String = Nothing

        Dim lifecycle As System.String = Nothing

        Dim RetainOwnership As System.Boolean = Nothing

        Dim References As System.Object = Nothing

        Dim value As PDMWDocument = Nothing

 

        value = con.CheckIn(filename, project, number, description, note, i_revOption, revision, lifecycle, RetainOwnership, References)

        con.Logout()

 

Tried the following workarounds but with no result(as per the solidworks forum  work around  suggested links:

1) Registered  C:\Program Files\Common Files\SOLIDWORKS Shared\pdmworks.dll and also set the path in environment variable - system variables.(Checkin to PDMWorks Vault using API error (24)

2).Checked for the version and relative service packs between the server client.

3). Full permission is granted to folder and also to the dll files.

 

Kindly suggest me the solution to resolve the issue.

 

Regards

VinaySuresh

Attachments

Outcomes