snazzyCrunch
Technical User
I am building an ASP site running on IIS 5.0. Through this site folks are able to select various form fields and run a report (Crystal Enterprise, report was created in CR8.5).
One of the options for the end-user is to pick the Viewer they would like: (I did this b/c some folks don't like using plug-ins...blah...blah....blah...)
ActiveX (SmartViewerActiveX.asp)
Java (SmartViewerJava.asp)
HTML (SmartViewerHTMLPage.asp)
When this option is selected from the HTML like so:
<option value="ActiveX" selected>ActiveX Plug-in</option>
<option value="Java">Java Plug-in</option>
<option value="HTML">HTML (no export)</option>
The value is then stored in a variable REQFormat and then passed into a select statement like so:
Select Case REQFormat
Case "ActiveX"
%>
<!-- #include file="viewers/SmartViewerActiveX.asp" -->
<%
Case "Java"
%>
<!-- #include file="viewers/SmartViewerJAVA.asp" -->
<%
Case "HTML"
%>
<!-- #include file="viewers/SmartViewerHTMLPage.asp" -->
<%
Case Else
%>
<B>No report viewer found!!</B>
<%
End Select
This is working fine for ActiveX and Java; however, when I select HTML everything runs correctly except the graphs. I consistently receive a red box (no image found) where my graphs should go.
Does anyone have any advice, help, or suggestions? Thanks ahead for your help!!
One of the options for the end-user is to pick the Viewer they would like: (I did this b/c some folks don't like using plug-ins...blah...blah....blah...)
ActiveX (SmartViewerActiveX.asp)
Java (SmartViewerJava.asp)
HTML (SmartViewerHTMLPage.asp)
When this option is selected from the HTML like so:
<option value="ActiveX" selected>ActiveX Plug-in</option>
<option value="Java">Java Plug-in</option>
<option value="HTML">HTML (no export)</option>
The value is then stored in a variable REQFormat and then passed into a select statement like so:
Select Case REQFormat
Case "ActiveX"
%>
<!-- #include file="viewers/SmartViewerActiveX.asp" -->
<%
Case "Java"
%>
<!-- #include file="viewers/SmartViewerJAVA.asp" -->
<%
Case "HTML"
%>
<!-- #include file="viewers/SmartViewerHTMLPage.asp" -->
<%
Case Else
%>
<B>No report viewer found!!</B>
<%
End Select
This is working fine for ActiveX and Java; however, when I select HTML everything runs correctly except the graphs. I consistently receive a red box (no image found) where my graphs should go.
Does anyone have any advice, help, or suggestions? Thanks ahead for your help!!