cancel
Showing results for 
Search instead for 
Did you mean: 

Date parameters

Former Member
0 Kudos

I have a report that requests for a date parameter.

When the 'Enter Parmeter Values' window opens, next to the date parameter I see a calendar icon.

Clicking on this icon should open the calendar picker. This works fine on muy development machine.

However on the clients machine it gives a javascript error 'object expected'

Below the field I see a 'business objects' button which also gives a javascript error when pressed.

It's the same issue as reported here [;

Any ideas?

Mike Feingold

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

I do need more info. To start:

1) What version of CR?

2) What OS is the server?

3) How did you deploy the CR runtime?

4) Are you using default or custom website?

Ludek

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ludek,

Thanks for your reply.

I tried the 2nd option (about copying the js directory from my dev machine to the deployment machine). This didn't see to make any difference. Interestingly, if I renamed the existing js directory to "js.old" beofre copying the new "js" dir in (so there wasn't any 'js' directory) then this didn't make any difference either - which implies that the js isn't being read at all. Am I missing something?

I will try the first option (CR XI r2) - I assume that this can be installed on a machine with only the merge modules installed (ie, not the full CR)?

Regards,

Mike

former_member183750
Active Contributor
0 Kudos

I will try the first option (CR XI r2) - I assume that this can be installed on a machine with only the merge modules installed (ie, not the full CR)?

- true, but you will have to install CR XI r2 on your development system and update the CR references to CR XI r2.

Ludek

Former Member
0 Kudos

1) CR 11.

2) Windows XP

3) Deployed the runtime using the merge modules

4) It's not a website - it's a .Net Windows application that fires up the crystal reprots viewer in a window.

All works well (and has done for some time now) except that the date parameters cause a problem on the parameters popup.

Thanks,

Mike

former_member183750
Active Contributor
0 Kudos

The prefered solution to this issue is to upgrade to CR XI r2:

https://smpdl.sap-ag.de/~sapidp/012002523100006008462008E/crxir2.zip

If that is not an option try the following:

1) Copy the "js" folder from the Development machine where CR XI full version is installed;

"C:\Program Files\Common Files\Business Objects\3.0\crystalreportviewers11\js" or

from "C:\Inetpub\wwwroot\

2) Paste the "js" in your deployment machine "C:\Program Files\Common Files\Business

Objects\3.0\crystalreportviewers11\"

Ludek