Link to home
Start Free TrialLog in
Avatar of Marcus Aurelius
Marcus AureliusFlag for United States of America

asked on

Parameter ERROR - Internet Explorer error????

Experts:

I use CRXI and I'm trying to use a parameter for my select criteria that is based on our CLIENT ID. (ie. 1234)

I've created my parameter as dynamic and I've placed it in my select criteria. When I try to preview I get this error:

Internet Explorer Script Error:

AN ERROR HAS OCCURED IN THE SCRIPT ON THIS PAGE.
LINE 165
CHARACTER 2
ERROR: OBJECT EXPECTED
CODE: 0
file://C:\Documents and Settings\xxx\Local Settings\Temp\prompting1.html
DO YOU WISH TO CONTINUE RUNNING SCRIPTS ON THIS PAGE?


Can someone help me out with what the problem may be? Seems to be missing some kind of file in my  TEMP directory???

THANKS
Avatar of Marcus Aurelius
Marcus Aurelius
Flag of United States of America image

ASKER

The error actually happens when the parameter screen pops up. This is the screen where it is asking for the client ID, but the screen looks stange and not icons are showing correctly.

When I type the first digit of the client number, I get the above error, I say NO then I type the second digit of the client ID and I get the above error.

I get the same script error each time I try to type in the client id.

It sounds to me like there is some type of validation script that Crystal is trying to run on the parameter page - maybe it's a numeric field and Crystal is trying to verify that each keystroke is numeric - anyway, it appears by the 'object expected' error that Crystal is trying ot run a script and the script (or some subcomponent of it) cannot be found.

My guess is that there is some Crystal component that's either missing or corrupted.  I would try a repair or reinstall of Crystal and see if that solves the problem.
Do you have a file named PROMPTING1.HTML in your temp folder? It looks like CR is trying to open PROMPTING1.HTML and can't find it. I've reloaded my CRXI program a few times and it is not correcting the problem.

Does anyone have this particular file PROMPTING1.HTML on your workstation? Anyone know where I can get it?
ASKER CERTIFIED SOLUTION
Avatar of frodoman
frodoman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Frodoman;

I used your comment and checked out my temp folder. What I did was I went in and just created a fake file with the name of prompting1.html using my NOTEPAD program. I just opened notepad and saved a blank file with the name prompting1.html.

I went into Crystal and tried to use the parameter CLIENT ID and it worked perfectly. I think what happened is that this folder is where my TEMP CR files are auto loaded/saved on my C: drive. I have a data space problem on my C: drive and so have a D: drive that I'm using. My CR XI is loaded on D: but the TEMP for CR XI is somehow directed to C: and it gets full on occassion. So what I have been doing is deleting OLD CRXI temp files that appeared to be from old CR XI reports.

I must have deleted this prompting1.html file and didn't realize it.

At any rate, thanks for your help in understanding what the problem may be.

Mike
Glad you've got it solved.
Avatar of oldtimer
oldtimer

I created a dummy prompting1.html, and restart the pc, the same error shows up with prompting2.html.

What can you help?


Thank