on 09-08-2014 8:23 AM
Hi,
I am using Crystal Reports 13 and Visual Studio 2010 to migrate an older crystal report (version 10.0.3300.0) application to the latest version of crystal reports.
After successful migration (successful = no errors during migration & no build errors afterwards) an issue has cropped up.
It is that while debugging the application, the following errors are being thrown:
(1.) B._separatorImage=img(bobj.crvUri("images/breadcrumbSep.gif"),14,9) throws error Function expected
(2.) A.css=A.layer.style throws error Object required.
This behavior is the same for this particular application in other machines as well.
Also the errors are being thrown in the order above.
This is happening only at runtime.
Has anyone seen this before?
Any help would be much appreciated.
Thanks in Advance,
Hi Sundar
Have not seen these errors before, but;
1) do make sure you are using SP 10 and make sure you run the install exe on your dev system, not the MSI.
2) See KBA: 2007224 - Crystal Reports Web viewer displays embedded graphics as black squares
3) Make sure your CR code is in page load, not page init.
As a troubleshooting step, try a simple one line app:
CrystalReportViewer1.ReportSource = <path to your report>
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SP 10 is the latest...
Do you get the same error with a simple app I suggested in my previous post? What was the result?
You can even try to go a bit more in depth with the code:
Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
crReportDocument.Load(<path to report>")
CrystalReportViewer1.ReportSource = crReportDocument
If the simple test apps work, what is the difference between them and your app?
- Ludek
Thanks,
I created the simple app. The report is working fine .I didn't get error in simple app.
But in my application still the error is happening.
The difference between the simple app and My application is
Simple App is directly created by Visual Studio 2010 and Crystal Report SP 9
My application is upgrading from Visual Studio 2005 to 2010 and Crystal Report SP 2.
Please help me to resolve this issue.
Thanks,
Sundar.
The difference between the simple app and My application is
Simple App is directly created by Visual Studio 2010 and Crystal Report SP 9
My application is upgrading from Visual Studio 2005 to 2010 and Crystal Report SP 2.
No. This does not lead to the issues you are encountering. You will have to look deeper into the differences. Not unless you are mixing the viewer versions / directories. Also, enter the search term 'crystal net allinone.js' in the search box - top right corner. Then filer for Asset Type of "Support Notes", see the KBAs that come up for you.
- Ludek
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.