Focal Point
IE 7 and wfservlet calls

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3011099132

June 11, 2007, 09:37 AM
Diane Trcka
IE 7 and wfservlet calls
We have launch pages calling our webfocus reports. We are using 7.1.4 in prod and 7.6.1 in dev. Both environments give a "webfocus was called with an invalid request" message when running the launch page thru Internet Explorer 7. The call we are using is MRVals = "IBIMR_domain=untitled/untitled.htm"
MRVals += "&IBIMR_folder=#newfolderric"
MRVals += "&IBIMR_fex=app/dailysal.fex"
'Constant MRE parms
MRVals += "&IBIMR_action=MR_RUN_FEX"
MRVals += "&IBIMR_sub_action=MR_STD_REPORT"
'Report specific parms
MRVals += "&PRIOR=" + strPrior
MRVals += "&DONWEEK=" + strWeeks
MRVals += "&DONYEAR=" + strYears
MRVals += "&RPT_TYPE=" + strRptType
MRVals += "&METRIC=" + strMetric
MRVals += "&RPT_LEVEL=" + strRptLvl
MRVals += "&RPT_VALUE=" & strRptVal
MRVals += "&RPT_FORMAT=HTML"
MRVals += "&RPT_MTHD=" & strRptMthd
MRVals += "&RANDOM=" & Today.TimeOfDay.ToString


Response.Redirect("http://dpdevdw/ibi_apps/WFServlet?" + MRVals)
June 11, 2007, 01:38 PM
Tony A
Hi Diane,

Has this ever worked?

If this is in an HTMLFORM, it could be falling over on the ampersand character in your script which you can rectify using "&|IBIMR" etc.

How are you calling this, within filename.htm or instream HTMLFORM within a fex?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
June 11, 2007, 02:27 PM
Alan B
This is an ASP page, with JavaScript as opposed to VBScript.

Where '&' is used, it should be a plus, e.g.:
MRVals += "&RPT_MTHD=" & strRptMthd

should be replaced with:

MRVals += "&RPT_MTHD=" + strRptMthd

there should be a javascript declaration at the beginning as well.

It would be best if you could post the url that this generates so that we can see what has happened here, as this works fine for me once I made those changes.


Alan.
WF 7.705/8.007
June 12, 2007, 09:13 AM
Diane Trcka
This code is VB. The url it generated is Birmingham
June 12, 2007, 10:09 AM
Alan B
Diane

That url you posted was not created by the code you originally wrote here.

I also have never seen VBScript use a +=, JScript yes.

(Edited 'cos I mean Jscript not JavaScript!)

This message has been edited. Last edited by: Alan B,


Alan.
WF 7.705/8.007
June 25, 2007, 12:23 PM
Kerry
Hi Diane,

Has this issue been resolved?

I am wondering, can you please re-post the URL? The one listed above seems to be inaccessible. Thank you in advance for sharing with all. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.