cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal report printing error

Former Member
0 Kudos

Hi all,

I am trying to print crystal report (13.5) using javascript. We have web application using VS 2010. We are getting bobj undefined error. We have even copied the crsytalviewer13 file to our root location and also made the necessary entries in web.config.

                                                                                                                                                              Please let me know for any solution on this issue. Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Please provide more info re:


I am trying to print crystal report (13.5) using javascript

E.g.; you are using VS 2010 and thus "SAP Crystal Reports, Developer Version for Visual Studio .NET". So, where does the javascript come into play? Why?

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

  Follow us on Twitter

Former Member
0 Kudos

I am not using the print functionality provided by crystal viewer. We are passing the div tag to javascript 'window.open' function. The 'div' tag has crystal report viewer. The file is created for printing. But it is blank.

former_member183750
Active Contributor
0 Kudos

So, what is it you are actually trying to do? Can you explain the workings of the app? Remember, I know not a thing about your app. The shorter your answer, the longer it will take to figure this out. So far, I have little to go on.

- Ludek

former_member183750
Active Contributor
0 Kudos

More things to consider:

You mention “necessary entries in web.config”.  What does the path to the viewer look like.  Is it a relative path or a fully qualified http path?  My guess is that when launching through javascript, you are using a relative path to the viewer which the javascript is interpreting as a file system path and not an http path.

Try using fiddler or a javascript debugger to see what the path to CRV.js is.  I believe this is the file that’s not being found.  In the web.config, try adding the resource path as a full http://<server>/crystalreportviewers13 path to see if that solves the error.

- Ludek

Answers (1)

Answers (1)

0 Kudos

Hi Pooja,

SP 5 had some serious issues ( bugs ) with WEB app's. Update your VS Installer and redist packages to SP 10 and test again.

Don