Error: "License cannot be save in your installation directory. (Error code = -4) It will be used only for this session."
Solution:
Make sure
that you have administrator privilege to the Controller. If you are
accessing the Controller via the network, make sure that you have write
access to the network.
Error “License security violation. Operation is not allowed”
Solution:
If you are
applying “TEMPORARY” license, it will not work if LoadRunner was
previously installed with a “TEMPORARY” or valid license key. You need
to contact HP Customer Support for a valid license key.
Error “License key was generated with a version superior to your license manager. Upgrade your license manager”
Solution:
Make sure
the HostID that was sent to HP Customer Support was generated from the
correct LoadRunner version. If you sent the HostID of LoadRunner 7.6,
but apply the license key on LoadRunner7.0 install, you will get this
problem.Error: “Cannot install license information, probably access to system resource was denied”
Solution:
This error
indicates that you need to log in with local administrator permission,
since you installed the product with administrator permission. If you
still get the error after login as local administrator, run
setlicensepermissions.exe from the \bin directory to change the registry
permissions
Error: “License manager does not support objects of this type or license is invalid”
Verify the followings:
Check the
properties of the license key. If you apply a license key that has
components that does not come with that version of LoadRunner, you will
get this error.
Example:Apply
WAN emulation license (introduced in LoadRunner 7.6), or J2EE
diagnostics (Introduced in LoadRunner 7.8 FP1) license on LoadRunner 7.5
Make sure that you are applying the license key on a machine where the license is generated for. In LoadRunner7.x, license keys are host lock. If you try to apply the license key on a separate machine, you will get this error.
Make sure that you are applying the license key on a machine where the license is generated for. In LoadRunner7.x, license keys are host lock. If you try to apply the license key on a separate machine, you will get this error.
"Memory violation error "in Load Runner
Reasons for this:
- C pointer errors,C programming invalid declarations
- Memory full
- Not enough Memory for what you need to place in a defined space
- Memory not yet allocated before attempting to use it
- Memory allocated but not deallocated
- Trying to copy a non pointer version of a datatype to a pointer defined version of a datatype, such as copying a character array to a pointer to a character array
- Generally unless you have a hardware issue this is a developer error
lr_param_sprintf security issue when run over a firewall(Error: CCI security error: You are running under secure mode and the function lr_param_sprintf is not allowed in this mode. )
The function lr_param_sprintf sometimes causes a security issue in the script when run from Performance Center.
Error Message
This function causes an issue in Performance Center due to the way the function works and the way the Load Generators have been setup in the environment as this function does not work over a firewall.
char strTime[10]; //timestamp variable
/*
-- -- -- -- -- -- -- --
Other code goes here
-- -- -- -- -- -- -- --
*/
lr_save_string( (char*)itoa( time(&t), strTime, 10 ), "timeStamp" );
Error Message
Error: CCI security error: You are running under secure mode and the function lr_param_sprintf is not allowed in this mode.
This function causes an issue in Performance Center due to the way the function works and the way the Load Generators have been setup in the environment as this function does not work over a firewall.
Solution:This is an example of how function could be to generate a timestamp value –
lr_param_sprintf( "timeStamp" , "%ld", time(&t) );
An easier and workable way of which is
lr_param_sprintf( "timeStamp" , "%ld", time(&t) );
An easier and workable way of which is
char strTime[10]; //timestamp variable
/*
-- -- -- -- -- -- -- --
Other code goes here
-- -- -- -- -- -- -- --
*/
lr_save_string( (char*)itoa( time(&t), strTime, 10 ), "timeStamp" );
No comments:
Post a Comment