cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Internet Explorer Script Error

Former Member
0 Likes
2,082

I seem to get a weird IE Script error for any report I try to run on Crystal Developer XI. This is only specific to a Date/Time parameter. When I click the calendar button to select a date, it gives me the following IE Error:

An error has occurred in the script on this page.

Line: 159

Char: 1

Error: Object expected

Code: 0

URL: file:///C:\an html file somewhere in my Documents and Settings directory.

I am then prompted if I want to continue running scripts on this page. If I click Yes, it will not do anything. Same result if I click No.

This is happening to all my reports that have a Date/Time parameter.

Any ideas?

View Entire Topic
Former Member
0 Likes

I was able to correct this issue by:

1. Zipping the crystalreportsviewer11 folder (to serve as a backup)

2. Renaming the prompt.dll in the bin directory

3. Coping over items 1 and 2 from a known working version of CRXI to the server having the error

I originally tried them individually, and got different errors. Then I started looking at the file dates and they were all different so it's my belief that they need a "matching" set.

Good luck

Former Member
0 Likes

I simply found a version of prompt.dll that was older. My non-working was 11.0.0.2478. I replaced it with 11.0.0.893. Now whether this is a full proof fix, is unknown. However, it appeared to be a loss of functionallity in the new dll, because the new file was smaller.