|
Infralution Support Support groups for Infralution products
|
View previous topic :: View next topic |
Author |
Message |
Kushal
Joined: 11 May 2018 Posts: 52
|
Posted: Wed Jan 08, 2020 5:50 am Post subject: |
|
|
You seem to be repeating your question regarding the IP addresses.
YES, when choosing floating license, we insert 192.168.0.99 into the IP address box.
AGAIN, My floating license has been modified (as explained previously) as such;
Code: | Friend Sub New(ByVal client As String, ByVal authdata As String, ByVal numOfLics As Integer, ByVal expirydate As Date)
Me.Client = client
Me.AuthData = authdata
Me.numOfLics = numOfLics
Me.expiryDate = expirydate
End Sub |
and again, I'm getting the license the same way the sample application does, as already explained in the msg of 2nd Jan;
My code getting the result from .GetLicense is untouched, as shown below;
Code:
Code: |
Dim errorMsg As String = Nothing
Try
Dim url As String = [String].Format("tcp://{0}:{1}/LicenseServer", serverAddress, serverPort)
_logger.Info(url)
Dim licenseServer As LicenseServer = TryCast(Activator.GetObject(GetType(LicenseServer), url), LicenseServer)
result = licenseServer.GetLicense(Environment.MachineName)
Catch e As LicenseLimitException
errorMsg = String.Format(My.Resources.LicenseLimitMsg, e.Limit)
.........
.......
.... |
From the above, I'm referring to the "RESULT" object, which gets the floating license.
I'm attempting to read the fields of the floating license including the authData.
Am I supposed to read it simply by calling result.numOfLics? Or do I need to cast it or anything? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Jan 08, 2020 6:59 am Post subject: |
|
|
Quote: | You seem to be repeating your question regarding the IP addresses.
YES, when choosing floating license, we insert 192.168.0.99 into the IP address box. |
It was not clear from your previous answers that you were entering the IP address in the configuration box. If you are entering the IP address (and not a server name) there is no way that DNS can be causing the issue. That means something more bizarre is going on in the clients network.
The way you are accessing the fields of the license is fine (as is evidenced by the fact that this works without problems on other clients). I'm really not sure what could cause the behaviour you are seeing, but all the evidence points to some strange networking configuration on those client machines. Unfortunately I am not a networking expert and can't really help much in pinpointing exactly what this is. _________________ Infralution Support |
|
Back to top |
|
|
Kushal
Joined: 11 May 2018 Posts: 52
|
Posted: Wed Jan 08, 2020 7:53 am Post subject: |
|
|
Installed the License Service on another PC just a few minutes ago, the machines not being able to read the license are working perfectly on that!
Extremely weird!
Guess thats going to be my solution for such errors if they occur again. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Jan 08, 2020 9:52 pm Post subject: |
|
|
Great glad that you've solved this _________________ Infralution Support |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|