zwieback89
Programmer
Hi,
I developed all the reports in version 8.0 and then upgraded the reports to version 8.5,
I have a page with links and when I click on a link, I see the report in a new browser window. All this worked fine in CR 8.0 ( I was able to see all the 25 reports)
Now with CR 8.5, after seeing the first five reports, even though I close all the reports before I see another report, I get an error saying that "The Page server cannot process the reports because all the 5 licenses have been used up. Pleae wait till the reports viewed are closed"
I close all the reports and only then view the next report. What is the suggestion for this ?
I view my reports in the following manner:
-----------------------------------------------------
<%
' This line creates a string variable called reportname that we will use to pass
' the Crystal Report filename (.rpt file) to the OpenReport method contained in
' the AlwaysRequiredSteps.asp.
reportname = "web_cardiac_function.rpt"
' ALWAYS REQUIRED STEPS
' Include the file AlwaysRequiredSteps.asp which contains the code for steps:
' - create the application object
' - create the report object
' - open the report
%>
<!-- #include file="AlwaysRequiredSteps.asp" -->
<%
'Request for variables.
stPatientID = Request.Form("PatientID"
stStartDate = Request.Form("DateFrom"
stEndDate = Request.Form("DateTo"
%>
<!--#include file="../Database/DBConnection.asp" -->
<%
set crtable = session("oRpt".Database.Tables.Item(1)
'crtable.SetLogonInfo "Pubs Sample Database", "pubs", cstr(userid), cstr(password)
crtable.SetLogonInfo cstr(stODBC), cstr(stDatabase), cstr(userid), cstr(password)
'The following section shows setting the Title ID.
Session("oRpt".ParameterFields.GetItemByName("PatientID".AddCurrentValue(Cdbl(stPatientID))
'Response.Write stPatientID
'The following section shows setting the start Date and the End Date.
'GetItemByName gets the name of the parameter set in the CR.
'Make sure that the spelling of the parameter is same as that in the CR.
Session("oRpt".ParameterFields.GetItemByName("StartDate".AddCurrentValue(CStr(stStartDate))
Session("oRpt".ParameterFields.GetItemByName("EndDate".AddCurrentValue(CStr(stEndDate))
' MORE ALWAYS REQUIRED STEPS
' Include the file MoreRequiredSteps.asp which contains the code for the steps:
' - retreive the records
' - create the page engine
' - create the smart viewer and point it to rptserver.asp
%>
<!-- #include file="MoreRequiredSteps.asp" -->
<%
' INSTANTIATE THE REPORT VIEWER
%>
<!-- #include file="SmartViewerActiveX.asp" -->
Hope to hear more on this issue.
Thanks,
Padmaja.
I developed all the reports in version 8.0 and then upgraded the reports to version 8.5,
I have a page with links and when I click on a link, I see the report in a new browser window. All this worked fine in CR 8.0 ( I was able to see all the 25 reports)
Now with CR 8.5, after seeing the first five reports, even though I close all the reports before I see another report, I get an error saying that "The Page server cannot process the reports because all the 5 licenses have been used up. Pleae wait till the reports viewed are closed"
I close all the reports and only then view the next report. What is the suggestion for this ?
I view my reports in the following manner:
-----------------------------------------------------
<%
' This line creates a string variable called reportname that we will use to pass
' the Crystal Report filename (.rpt file) to the OpenReport method contained in
' the AlwaysRequiredSteps.asp.
reportname = "web_cardiac_function.rpt"
' ALWAYS REQUIRED STEPS
' Include the file AlwaysRequiredSteps.asp which contains the code for steps:
' - create the application object
' - create the report object
' - open the report
%>
<!-- #include file="AlwaysRequiredSteps.asp" -->
<%
'Request for variables.
stPatientID = Request.Form("PatientID"
stStartDate = Request.Form("DateFrom"
stEndDate = Request.Form("DateTo"
%>
<!--#include file="../Database/DBConnection.asp" -->
<%
set crtable = session("oRpt".Database.Tables.Item(1)
'crtable.SetLogonInfo "Pubs Sample Database", "pubs", cstr(userid), cstr(password)
crtable.SetLogonInfo cstr(stODBC), cstr(stDatabase), cstr(userid), cstr(password)
'The following section shows setting the Title ID.
Session("oRpt".ParameterFields.GetItemByName("PatientID".AddCurrentValue(Cdbl(stPatientID))
'Response.Write stPatientID
'The following section shows setting the start Date and the End Date.
'GetItemByName gets the name of the parameter set in the CR.
'Make sure that the spelling of the parameter is same as that in the CR.
Session("oRpt".ParameterFields.GetItemByName("StartDate".AddCurrentValue(CStr(stStartDate))
Session("oRpt".ParameterFields.GetItemByName("EndDate".AddCurrentValue(CStr(stEndDate))
' MORE ALWAYS REQUIRED STEPS
' Include the file MoreRequiredSteps.asp which contains the code for the steps:
' - retreive the records
' - create the page engine
' - create the smart viewer and point it to rptserver.asp
%>
<!-- #include file="MoreRequiredSteps.asp" -->
<%
' INSTANTIATE THE REPORT VIEWER
%>
<!-- #include file="SmartViewerActiveX.asp" -->
Hope to hear more on this issue.
Thanks,
Padmaja.