?
Solved

inconsistent error messages from the crystal server

Posted on 2003-11-19
5
Medium Priority
?
1,017 Views
Last Modified: 2012-06-27
Hi Experts:

What I'm trying to do is generate a PDF from a report...the backend is Oracle and I'm passing the crystalserver a URL that looks something like this (I broke it up for easier reading):

http://crystalserv/path/report.rpt?
cmd=EXPORT
&export_fmt=U2FPDF:0
&PROMPT0=3000002
&PROMPT1=00
&promptonrefresh=0
&user-oracleConn.dbName=user
&password-oracleConn.dbName=pass

What happens is 1 of 3 things:
1) The PDF is generated as expected (good)
2) The page returned in an HTML page requesting database logon information for the subreport  (bad)
3) An error page saying: "Data on the Page Server may have changed. In order to prevent the display of inconsistent information, the data cached in your browser will have to be refreshed." (bad)

..I've been trying to find corelations between these outcomes and how I open the page but haven't had any luck...it seems like one of the 3 is chosen at random.  If I get 2) and manually input logon info..it usually goes to 3).

I've tried passing it &user0=username&password0=password and user1=... for all subreports etc...but the same combination of things arbitrarily happen.  I've tried different prompt on refresh values, different client machines...same thing.  I've tried toggling the "save data with report" feature (I leave it off) with the same results...I've tried playing with the browser's cache settings

I'm using crystal 8.5/Oracle backend, javascript generating the URL+window.open(URL) (IE6) to open on the front.

Anyone?  I'd be eternally grateful :)
0
Comment
Question by:d0zerz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 9781421
Have you tried setting your browser to refresh "every time"?  It sounds like you're sometimes hitting at least a partially cached copy which isn't authenticating correctly to Oracle.
0
 
LVL 13

Expert Comment

by:EwaldL
ID: 9781456
try adding a :connect. this ensures that fresh data is retrieved from the database. so far i have only seen it used with the viewer though, so i am not sure if it can be implemented with an export, but it could be worth trying
cmd=EXPORT:connect
0
 
LVL 1

Author Comment

by:d0zerz
ID: 9781596
I tried refreshing the page and checking for new versions on every page visit...I don't think it's a caching issue because I get the same errors when I go on computers that haven't touched the page at all.

Sadly, cmd=EXPORT:connect didnt' work either :(

Thx for the feedback though
0
 
LVL 42

Accepted Solution

by:
frodoman earned 480 total points
ID: 9781630
0
 
LVL 1

Author Comment

by:d0zerz
ID: 9789533
Logically that looks exactly like it, in terms of the error i'm getting and such...but it didn't do it :(

I think it's actually a licensing issue internally, more people accessing the crystal serv than we have licenses.

Thanks for the efforts though :)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question