Solved

inconsistent error messages from the crystal server

Posted on 2003-11-19
5
1,012 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 120 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

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Speed Up Crystal Report 5 72
Crystal report highlighting 5 61
Dates formatted Differently on another pc 2 38
How to select one number or leave at all for a parameter? 4 38
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. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

732 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