Kemp Support, how can we help?

The latest application delivery knowledge and expertise at your fingertips.

Adaptive Agent Returning Improper Value - Returning Wrong Encoding

 

Information

 

Summary:

Adaptive agent script returning wrong encoding format.

Environment:

Product: LoadMaster

Version: 7.2.48.3 and above

Platform: All

Application: Any

Question/Problem Description:

If using the script provided in this article you may get a file outputted in encoding format "UCS-2 LE BOM".  It needs to be "ANSI".

Steps to Reproduce: Use the script provided then run it.  File will be outputted.  Open that file in notepad++ and view the encoding.
Error Message:  
Defect Number:  
Enhancement Number:  
Cause: Wrong encoding format.
Resolution:

If using the provided script look for:

echo $RETURNED_LOAD > $DOCROOT$LOAD_FILE_PATH 
and change to:

$RETURNED_LOAD | out-file -encoding ASCII $DOCROOT$LOAD_FILE_PATH

Workaround:  
Notes: https://support.kemptechnologies.com/hc/en-us/articles/4405983419661-Writing-a-Resource-Based-Adaptive-Server-Agent

Was this article helpful?
1 out of 1 found this helpful

Comments