Quantcast
Channel: Gemalto Sentinel Customer Discussions
Viewing all 1619 articles
Browse latest View live

getSessionInfo() not behaving the same as getInfo() (C++)

$
0
0
My understanding is that this:
  1.          std::string info;

            const char* scope =
                "<haspscope>"
                "   <product id=\"102\"/>"
                "</haspscope>");

            const char* format =
                "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
                "<haspformat root=\"hasp_info\">"
                "    <feature>"
                "        <element name=\"license\" />"
                "    </feature>"
                "</haspformat>"
                "";

            haspStatus Status = Chasp::getInfo(scope, format, vendorCode, info);
should behave the same as:
  1.         std::string info;

            const char* format =
                "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
                "<haspformat root=\"hasp_info\">"
                "    <feature>"
                "        <element name=\"license\" />"
                "    </feature>"
                "</haspformat>"
                "";

            ChaspFeature feature = ChaspFeature::fromFeature(102);
            Chasp hasp(feature);
            haspStatus Status = hasp.getSessionInfo(format, info);
But Status is HASP_INV_HND for hasp.getSessionInfo() while getInfo() does what I expect it to. Is there any reason for this? I've tried using hasp.login(vendorEMSCode) before using hasp.getSessionInfo(), and it doesn't make a difference.

We are using hasp_api_cpp.h v 1.16 and hasp_api.h Copyright 2013

Thanks.

After installing Sentinel Runtime 6.65.1.48607 windows 7 repeatedly crashes

$
0
0
Hello,

I have eventually narrowed down a Windows 7 problem I have to the installation of Sentinel Runtime 6.65.1.48607.

I use a piece of software called Hawkey which is licence protected  with the purple hasp key. after installing Hakweye and then the sentinel runtime after a few mins windows crashes out and goes to the boot screen to start windows again. At first I thought maybe a virus or other but after lots of step by step troubleshooting it only happens straight after Sentinel runtime is installed. So if I allow windows to reboot then withing 2-5mins of loading back up it crashes again to the boot screen and this loop just continues. If I start windows in safe mode and restore my laptop to before the sentinal was installed then the laptop works fine; reinstall sentinal and the crashing starts again.
I have even reinstalled Windows to see if that helped but again as soon as sentinel is installed the laptop crashes again. My laptop has Windows 7 Professional, service pack 1 on it. I have a backup harddisk and that has Windows 7 enteprise on it, service pack 1 and if I try the install of sentinel on the backup harddisk as soon as sentinel is installed it crashes Windows again.

So im pretty sure there must be some conflict with Sentinel Runtime and Windows 7 professional and Windows 7 enteprise and maybe there is a robust fix for this?

I'm not 100% tech savvy but can follow easily step by step instructions if anyone has any help with what to try.

Thanks in advance for any help to fix this problem.

Dominic

Re : After installing Sentinel Runtime 6.65.1.48607 windows 7 repeatedly crashes

$
0
0
Hi Dominic,

Thanks for raising the concern.

The version of Sentinel Runtime mentioned is very old and thus prone to have such issues.

Please be suggested to download and install the latest Sentinel runtime driver on your system and check if the problem persists.

Kindly search the Article ID KB0018320 in Gemalto support portal https://supportportal.gemalto.com/csm/ to download windows GUI installer.

If the problem still occurs then please keep us posted.

Best Regards,
Parth Kaushik

Re : getSessionInfo() not behaving the same as getInfo() (C++)

$
0
0
Hi Anthony,

Thank you for raising the concern.

The error message HASP_INV_HND for hasp.getSessionInfo() suggests that the session handle was not assigned login session.

As below :

Chasp hasp(feature);

hasp.login(vendorCode);

haspStatus Status = hasp.getSessionInfo(format, info);


The handle object hasp is followed by login() method to generate the session.


Also, please clarify whether the Feature and Product ID both are "102" as presented in the template.


Best Regards,

Parth Kaushik


Re : getSessionInfo() not behaving the same as getInfo() (C++)

$
0
0
As mentioned in the my first message, I have tried using the code you suggested, and still get the same status.

The product (ID 102) is what I'm trying to get the session info for. There is no direct feature with 102 as its ID.

Re : getSessionInfo() not behaving the same as getInfo() (C++)

$
0
0
HI Anthony,

Thank you for the update.

Please use the feature ID instead of product ID as the sessions are created on feature ID of the license key.
Hopefully, this should resolve the problem as it explains the reason behind HASP_INV_HND error.

Kindly keep us posted with the results.

Regards,
Parth Kaushik

Re : After installing Sentinel Runtime 6.65.1.48607 windows 7 repeatedly crashes

$
0
0
Hi Parth,

Thanks very much for your reply. I have downloaded the new driver. I need to reload the particular piece of software that the Hasp is protecting and its quite a large file to download. Currently i'm in a remote location with poor internet so it may take me a while until i'm in a position to know if all is now working good but will provide feedback once I know.

Do you know if I can purchase a blank Sentinel Hasp Key in the UK please? I travel to remote work locations worldwide (currently in Iraq) and rely on the software the Hasp key is protecting. I'm worried if ever my Hasp key got lost or damaged I would be in a very difficult situation without backup.

If I could obtain a spare Hasp then in the case of lost or damaged original Hasp I could contact the software supplier explaining the situation and most likely they would be able to deactivate the old Hasp and activate the spare so I could continue use of the software.

I am based in the UK and the software supplier is in USA hence why I query if there is a UK supplier I purchase a blank from that may be easiest option?

Many Thanks

Dominic

Re : getSessionInfo() not behaving the same as getInfo() (C++)

$
0
0
Thanks, it looks like someone made the product and the main feature's ID the same. Is what you're saying suggesting that this is the source of the issue?

Re : After installing Sentinel Runtime 6.65.1.48607 windows 7 repeatedly crashes

$
0
0
Hello Dominic,

Thank you for the response.

Please feel free to share the results upon your testing with the latest drivers.

However for the spare key, you are required to raise this need with the software provider. This is because the HASP keys are bound to the provider's production batch code and only they can program another key using their batch code.

If any further information is needed then please let us know.


Best Regards,
Parth Kaushik


Re : getSessionInfo() not behaving the same as getInfo() (C++)

$
0
0
Hello Anthony,

Glad to know if its working as expected.

Just to keep in notice, GetSessionInfo() looks for the session related information and thus dependent on the feature ID as sessions are created on features. On the other hand, the GetInfo() is for generic usage which is independent of any session calls.

Thank you for your participation.

Best Regards,
Parth Kaushik

Re : getSessionInfo() not behaving the same as getInfo() (C++)

$
0
0
Will getSessionInfo() only work if login() returns HASP_STATUS_OK, or should it work if login() returns HASP_FEATURE_EXPIRED?

Using time with HL Pro

$
0
0
Hello guys.

Regarding the extra time on the HL Pro key, we did a test.
- I checked (using the Sentinel LDK Vendor Suite Toolbox) the time on 3 HL Pro keys, all returned my current date.
- I changed the computer year (2049) and rechecked the keys, one returned year 2049, another two returned year 2098 (I attached the picture).
My question is where does this tool extract this information and if I should not return a status other than 0, for example, according to the Gemalto information: http://sentinelldk.safenet-inc.com/LDKdocs/API-Licensing-java/Licensing_API/Enumerations/Licensing_API_Status_Codes.htm

          12        NoTime           Real-time clock (RTC) not available

Thank you,


Vasea

Re : getSessionInfo() not behaving the same as getInfo() (C++)

$
0
0
Hello Anthony, 

Thank you for the response.

As discussed, if the login() returns HASP_FEATURE_EXPIRED so the session would not generate thus getSessionInfo() would not work.

However, if the session was already active and the feature gets expired in the meanwhile then it doesn't ends the active session abruptly. In such case, the getSessionInfo() still remains working.

Please feel free to share if you have any further thoughts.

Best Regards,
Parth Kaushik 

Re : getSessionInfo() not behaving the same as getInfo() (C++)

$
0
0
Thanks, that's all I probably needed to know. The code we had was trying to get the expiration date of an expired feature using getSessionInfo(). Once I figured out getInfo() worked, I was curious as to way getSessionInfo() wasn't working.

Re : Reviving an old application - missing haspms32.dll

$
0
0
I have the same problem, but we had a backup of the haspms32.dll
Still the (envelopped) application has a problem communicating with the driver.

Any luck on your side?

Re : getSessionInfo() not behaving the same as getInfo() (C++)

$
0
0
Hi Anthony, 

Thank you for your participation. 

For any future queries, please feel free to reach us back.

Best Regards,
Parth

Re : Reviving an old application - missing haspms32.dll

$
0
0
Hi Edgar t hart,

Please share the following details:

- Complete operating system details (with build).
- Error message.
- Share the file version of haspms32.dll ?
- Version of HASP Envelope (haspenv.exe) with which the application is protected?
- Is it happening on single machine or multiple machines ?

Looking forward for your response.

Thank You,
Gaurav Bhanot

Re : Using time with HL Pro

Errors when installing akspccard.inf file

$
0
0
Hello:

As part of a product we purchase from another vendor, Sentinel is used to license the software. We are attempting to install haspdinst.exe with the -i flag on a Windows 7 VDI (Citrix) machine for users to log into, but we received this error message:



So far, this software has never had issues installing on local machines or Windows servers, but this is our first attempt at installing on a Citrix machine. haspdinst.exe was run with our company antivirus (McAfee) off and domain network firewalls disabled.

Any help would be greatly appreciated.

Thanks!

Re : Errors when installing akspccard.inf file

$
0
0
Hello Joshua, 

Thank you for raising the concern.

Could you please check if the problem appears with the latest driver version 7.90 ?
Please use the below link for support portal and search for the ID KB0018319 to get the latest drivers.


Also, please share the details about the Citrix environment mentioned.

Looking forward to the response.

Best Regards,
Parth 

Viewing all 1619 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>