on 05-22-2009 10:08 AM
We are deploying the crystal runtime as part of a VS2008 windows forms app using CRRuntime_12_1_mlb.exe
We're getting 'an error has occurred in the script on this page' errors when the parameters window loads and IIS is not installed as part of the operating system e.g.
line 24: _pe is undefined
line 63: object expected
line 419: _units is undefined
We're testing on Vista (SP1) & XP (SP2) & this wasn't an issue with CRRuntime_12_0_mlb.exe
Please can someone advise ?
Hi,
Please make sure that you have used the correct Crystal dlls. I understand that you are using VS2008 but the msi that you are using is for CR2008. Also make sure that you have CR2008 sp0 and above product or CR that comes with VS2008.
[This|https://www.sdn.sap.com/irj/scn/wiki?path=/display/bobj/crystalReports2008] might be of some help to you.
Regards,
AG.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ludek,
In our case it seems to be missing 'prompting' and 'js' sub-folders that are the cause of the problem - if I copy them over from the development pc, the problem is solved.
Thank you for your help - any update from the database re: CR2008 would be appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
we also experience this problem. On a regular basis, the installation of the CR2008 SP1 runtime does not install all required files which would be lcoated in "Business Objects\Common\4.0\crystalreportviewers12". You only notice this problem afterwards though, when the errors in the parameter window pop up. I'd appreciate a solution.
Regards,
Florian
Hi,
RE: AG
The Crystal Reports 2008 version used to build the (external) reports is 12.1.0.892
Our winforms app makes the following references
CrystalDecision.CrystalReports.Engine (version 12.0.2000.0, file version 12.1.2000.882)
C:\Program Files\Business Objects\Common\4.0\managed\dotnet2 CrystalDecisions.CrystalReports.Engine.dll
CrystalDecisions.Enterprise.Framework (version 12.0.1100.0, file version 12.1.0.882)
C:\WINDOWS\assembly\GAC\CrystalDecisions.Enterprise.Framework\12.0.1100.0__692fbea5521e1304\CrystalDecisions.Enterprise.Framework.dll
CrystalDecisions.Enterprise.InfoStore (version 12.0.1100.0, file version 12.1.0.882)
C:\WINDOWS\assembly\GAC\CrystalDecisions.Enterprise.InfoStore\12.0.1100.0__692fbea5521e1304\CrystalDecisions.Enterprise.InfoStore.dll
CrystalDecisions.ReportSource (version 12.0.2000.0, file version 12.1.2000.882)
C:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.ReportSource\12.0.2000.0__692fbea5521e1304\CrystalDecisions.ReportSource.dll
CrystalDecisions.Shared (version 12.0.2000.0, file version 12.1.2000.882)
C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.Shared.dll
CrystalDecisions.Windows.Forms (version 12.0.2000.0, file version 12.1.2000.882)
C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.Windows.Forms.dll
Does that look OK ? Is there anything else we need to check ?
We've checked the GAC on the target machine and the versions/file versions match
If we install IIS and then remove and reinstall CRRuntime_12_1_mlb.exe, the problem goes away
RE: Ludek
The folder c:\program files\business objects\common\4.0\crystalreportviewers12 exists on the deployed computers but does not contain an html sub-folder, only ActiveXControls, resourcecabs, urlreporting and a web.config file. There is no crystalreportviewer12 folder in our app folder
Thank you for assisting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, OK, my memory obviously failed me re. the actual behavior. What you will have to do is "somehow", get the html folder (with it's contents) under the crystalreportviewers12 folder. E.g.; copy the folder from your development computer to the deployed computer. I remember this (no IIS, or IE) being an issue all the way back to CR 10 - where it was actually even worse. Anyhow, I'll look up the issue in our database and see where it stands with CR 2008. However, in the meantime, you will have to do the copy as I mentioned above.
Ludek
I believe the issue is due to no IIS when the CR runtime is installed. The prompting is controlled, in part, through the crystalreportviewers12\html folder. Under normal conditions, the crystalreportviewers12 folder is installed here:
c:\program files\business objects\common\4.0\crystalreportviewers12.
If you look for the crystalreportviewers12 folder on your deployed computers I think you will find the folder under your app folder. Thus, you have to manually move the folder so it matches the path above.
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.