Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AuthenticationData from Floating License
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
Kushal



Joined: 11 May 2018
Posts: 52

PostPosted: Wed Jan 08, 2020 5:50 am    Post subject: Reply with 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.

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
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Jan 08, 2020 6:59 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Kushal



Joined: 11 May 2018
Posts: 52

PostPosted: Wed Jan 08, 2020 7:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Jan 08, 2020 9:52 pm    Post subject: Reply with quote

Great glad that you've solved this
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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