cancel
Showing results for 
Search instead for 
Did you mean: 

allinone.js error in ASP.NET

Former Member
0 Kudos

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,

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks Ludek,

I am using SP 9 now. I installed SP 9 using by install.exe on my dev system.

Still i got same error. Please give any suggestion to solve the error.

Thanks,

Sundar.

former_member183750
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

former_member183750
Active Contributor
0 Kudos

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

Answers (0)