cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to display the calendar in crystal reports xi viewer.

Former Member
0 Kudos

Hi,

I am trying to run crystal reports xi in my vb6 application. I have been able to embed and view crystal reports on my machine(Development machine) but when i try to view them on the deployment machine, the calandar control does not appear. Instead there is an error message displayed on the screen where parameters are requested as

"Business Objects"

i

i"

wherever i try to click near that calendar the error message comes up as:

"An error has occurred in the script on this page

Line: 80

Char: 1

Error: Object Expected

Code: 0

URL: file://c:/Documents%20and%20Settings/Administraor/Local%20Settings/Temp/prompting1.html"

I have downloaded the merge modules and created a installer which installs the required run-time onto my deployment computer. Can anyone please help me with this, thank you.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

What is the exact version of CR (from Help | About)?

Compare the version of the crpe32.dll

What OS are you deploying to?

What CR merge modules did you add to the deployment project?

What utility did you use to build the deployment project?

- Ludek

Former Member
0 Kudos

Hi Ludek,

Crystal Reports Version : 11.0.0.1282

i am deploying to Microsoft XP (SP3)

I have used CrystalReports11_rdc_license.msm, CrystalReports11_rdc_reportengine.msm, CrystalReports11_rdc_runtime.msm modules to build an installer package using Visual studio 2008.

there are multiple locations where crpe32.dll file is located on both machines with same set of versions on both computers, what specific locations should i look up in.?

thank you.

former_member183750
Active Contributor
0 Kudos

Re. crpe32.dll. Rather than crpe32, we want to look at craxdrt.dll (my bad...) that is loaded by your app. Use the [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] utility for that.

On the client box, run your app until you get the error.

Start Modules

Go to File | New List -> Memory Modules

Once the log is done, expand the "By Process" node and find your exe.

Click on the exe.

Now got to View | Detail

What is the version of the craxdrt.dll loaded and what location is it loading from?

- Ludek

former_member183750
Active Contributor
0 Kudos

Umm, one more thing.

Something was bugging me about the error. A quick search of the KB (search box at the top right corner of this web page) retrieved the following;

[1201054 - Missing of Parameter (Calendar) dll's in Crystal reports XI release 1 RDC Service Pack 4 Merge Module|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303331333033353334%7D.do]

Not quite identical, but close.

I'm not sure where version 11.0.0.1282 that you specify is from as I do not have it listed [here|http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReports2008%28and9.1%2CXIR1%2CXIR2%29-VersionandDownloadinformationforServicePacks], but irrespective.

We have two options

1) copy the directories as specified in the KB

2) upgrade to CR XI R2 SP 6 and use the merge modules from there

Note that SP4 was the last SP for CR XI (11.0.x). CR XI is out of support now. Thus I'd recommend upgrading to CR XI R2 and go from there. As you have CR XI, upgrading to CR XI R2 will at no cost to you. Let me know if this is acceptable and I'll provide download locations and more.

- Ludek

Former Member
0 Kudos

Hi Ludek,

Thank you very much for your help, i am still having troubles.

I used your modules application to compare the CRAXDRT.dll on both the development machine and the deployment machine and surprisingly the dll version on the deployment machine is latest than the version on the development machine. the version on development machine is 11.0.0.1282 and the version on deployment machine is 11.0.0.2495.

I also had a look at the link you provided in your other answer but that (replacing the prompting folder from the deployment machine) did not resolve my problem as well.

the only way i was able to make it work was to actually replace the folder c:\Program files\common files\business objects\3.0\bin from the development machine to the deployment machine.

Moving forward, i would be happy to upgrade my crystal XI to release 2 provided i do not have to make a lot of changes in my vb code to view the report and that release 2 is compatible with VB6 development platform. If you feel positive about it, can you please let me know the links from where i can download the upgrade and also the documentation. Thanks again.

- Wahaj.

former_member183750
Active Contributor
0 Kudos

Ok. I think going with XI R2 will be the best thing to do. No code changes needed, just references need to be changed and VB 6 should do that for you automatically. Following are the steps I'd like you to follow:

1) Note your current keycode (it should be in Help | About)

2) Uninstall CR XI

3) Download CR XI R2 from here;

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

4) Download SP 4 from here:

https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe

5) Download SP 6 from here;

https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe

6) Install CR XI R2, then SP 4, then SP 6

7) Open the project in VB 6, check that references to the craxdrt.dll and crviewer.dll are to file version 11.5.

😎 Compile.

9) Create a new deployment project using the msm files from the following location:

https://smpdl.sap-ag.de/~sapidp/012002523100000634032010E/crxir2sp6_rdc_mm.zip

10) Deploy

11) Keep your fingers crossed

- Ludek

Former Member
0 Kudos

Hi Ludek,

I did the things you mentioned in your previous reply and it worked fine for me. Thank you very much, I really appreciate your help regarding this issue. All the best

-Wahaj

former_member183750
Active Contributor
0 Kudos

Excellent news. I had you do a lot of work I know, but hopefully the ROI was worth it

Happy coding,

Ludek

Former Member
0 Kudos

I am having the same issue as below

"Business Objects"

i

i"

When you click on "Ok" or anywhere on the parameter prompt you will be getting a script error:

"An error has occurred in the script on this page

Line: 95

Char: 1

Error: Object Expected

Tried all the workarounds provided, but none helps...

former_member183750
Active Contributor
0 Kudos

What work-around? The thread is about 10 post long and we did a number of things. I suggest you create a new thread and look at the following to get to a quicker resolution;

[Rules of Engagement|http://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]

Step 2 Asking Your Question; Provide Enough Information

[What do I need to do to get the fastest issue resolution?|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12045] [original link is broken] [original link is broken] [original link is broken];

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Got Enhancement ideas? Try the [SAP Idea Place|http://ideas.sap.com/community/products_and_solutions/crystalreports]

Answers (0)