Highlighted
Absent Member.
Absent Member.
498 views

Getting 500 Error on Viewstate Correlation

Hi,

I am getting HTTP 500 resopnse whenever I run Viewstate correlated script, without correlation script is working good.But for multiple user,script will fail without correlation.

Thanks in advance!
Regards
Rajat
0 Likes
5 Replies
Highlighted
Absent Member.
Absent Member.

Re: Getting 500 Error on Viewstate Correlation

had you use the web_set_max_html_param_len functiun ?

which version of vugen are you using ?
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Getting 500 Error on Viewstate Correlation

I am using LR 9.1 and hv applied max_len function but gone in vein
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Getting 500 Error on Viewstate Correlation

can you create a rules for Event_validation and Viewstate then regénrate the script by using only these rules.

Before be ensure that your corrrelationSettings.xml have a value suffisant for your correlation ( edit the file CorrelationSettings.xml in the folder config of your vugen installation folder)

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Getting 500 Error on Viewstate Correlation

Don't be shy about setting a big value:

web_set_max_html_param_len("1048576");

Also, do a web_reg_save_param repeatedly. Set up a separate function to accomodate this easily:


////////////////////////////////////////////////////////////////////////////////////////////////////
// Gets event validation key.
////////////////////////////////////////////////////////////////////////////////////////////////////

GetEventValidation()
{
web_reg_save_param("EventValNum","LB=__EVENTVALIDATION\" value=\"","RB=\"","NotFound=Warning",
LAST);

return 0;
}

////////////////////////////////////////////////////////////////////////////////////////////////////
// Gets view state.
////////////////////////////////////////////////////////////////////////////////////////////////////

GetViewState()
{
web_reg_save_param("ViewState","LB=__VIEWSTATE\" value=\"","RB=\" />","NotFound=Warning",
LAST);

return 0;
}
0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Getting 500 Error on Viewstate Correlation

Hi Rajat,

I would like to know the how to handle view state correlation if your issue is resolved.

Regards,
Bishnu
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.