Solved

inconsistent error messages from the crystal server

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

622 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