Skip to Content
0
Former Member
Oct 29, 2009 at 05:59 PM

ActiveX Viewer for InfoView Crystal Report Prompts for Parameters

11 Views

I have an issue.

I have a report in which I am attempting to use the opendocument.aspx method of opening a crystal report. I have everything working fine with the html viewer however, if I attempt to use the activex viewer I get prompted for the paramters I have sent in. The two URLs are identical with the only difference being sVIewer querystring value being set to actx instead of html.

Here are the URLs

HTML

http://<servername>/businessobjects/enterprise115/infoview/scripts/opendocument.aspx?sType=rpt&sViewer=actx&sPath=[Development],[CGIS],[SGI%20Collision%20Reporting]&sDocName=SGICol-001&sRefresh=Y&NAII=N&lsS@avcUGRID=C7-16&lsS@adtFromDate=2004/1/1%2000:00:00&lsS@adtToDate=2009/10/29%2023:59:59

ActiveX

http://<servername>/businessobjects/enterprise115/infoview/scripts/opendocument.aspx?sType=rpt&sViewer=html&sPath=[Development],[CGIS],[SGI%20Collision%20Reporting]&sDocName=SGICol-001&sRefresh=Y&NAII=N&lsS@avcUGRID=C7-16&lsS@adtFromDate=2004/1/1%2000:00:00&lsS@adtToDate=2009/10/29%2023:59:59

When the web page redirects to the "businessobjects/enterprise115/infoview/scripts/documentXML.aspx" it creates the following URLS:

HTML

http://vsx2af0x/businessobjects/enterprise115/infoview/scripts/documentXML.aspx?token=&cmdP1=SGICol-00100rpt*&cmd=askPromptView&cmdBlock=all&cmdP2=lsS%2540avcUGRID%3dC7-16%26lsS%2540adtFromDate%3d2004%252f1%252f1%2b00%253a00%253a00%26lsS%2540adtToDate%3d2009%252f10%252f29%2b23%253a59%253a59%26sViewer%3dhtml%26sPath%3d%255bDevelopment%255d%252c%255bCGIS%255d%252c%255bSGI%2bCollision%2bReporting%255d%26NAII%3dN

ActiveX

http://vsx2af0x/businessobjects/enterprise115/infoview/scripts/documentXML.aspx?token=&cmdP1=SGICol-00100rpt*&cmd=askPromptView&cmdBlock=all&cmdP2=lsS%2540avcUGRID%3dC7-16%26lsS%2540adtFromDate%3d2004%252f1%252f1%2b00%253a00%253a00%26lsS%2540adtToDate%3d2009%252f10%252f29%2b23%253a59%253a59%26sViewer%3dactx%26sPath%3d%255bDevelopment%255d%252c%255bCGIS%255d%252c%255bSGI%2bCollision%2bReporting%255d%26NAII%3dN

The report does have a subreport on it. Is it possible the ActiveX version is prompting for the sub reports parameters (which are identical to the main reports parameteres and linked in the report) or is it some other issue?