on ‎2011 Feb 06 4:23 PM
Hello,
is anyone willing to help us with the Crystal report for VS2010 setup? We are getting this jscript error that prevents the report to display.
here is the environment we're working with:
VS2010 professional on Vista 32-bit
deploy web site in C# to Win server 2008 32-bit
Installed Crystal Report for VS2010 from:
/people/coy.yonce/blog/2010/11/12/crystal-reports-for-visual-studio-2010-production-release-now-availableCystlR%2528SAPWeblogs%253ACrystal+Reports%2529
which should be the current release version.
I installed the 32-bit for VS and the redist 32-bit (runtime) on the server.
Every time I have a Crystal Report Viewer on a page to display the browser shows the jscript error: bobj is undefined for that page and the report doesn't work.
I saw numerous posts about this error but I never found a solution that works forme.
Here what I tried:
- reinstalled CR products
- change target to .NET 4 classic
- copied aspnet_client on the same folder I have the web site
- empty CR viewer with no CR file attached nor data
- created a web site solution specific for CR
- created a project where I dropped a CR viewer on the default.aspx page
- tried to change properties on the CR viewer
- added on the page where I have the CR viewer a direct reference like:
<%@ Reference VirtualPath="crystalreportviewers13/js/crviewer/crv.js" %> but it doesn't work, it looks like the scripts have to be executed within the viewer because I get: JS1135: Variable 'bobj' has not been declared
Any other suggestions?
Why CR for VS2010 is sooo difficult to setup on the server? We are small business company we don't have much time to dedicate to this problem, if I can't make it to work in the near future we are going to explore other companies/ways to create reports. Any suggestions also on CR alternatives?
Thanks in advance.
Request clarification before answering.
I found that your problem,I'll wait for someone post solution.
and if you knew,please guide me also,Thanks for your advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@naphong:
hi,
I just wanted to update you on my progress:
Unfortunately even creating a new project targeting .NET 2.0 doesn't work, I get the same bobj is undefined.
I'll keep you posted when I do more researches/tests.
PS - be nice. this is a PUBLIC forum and is not a Support system. To get a solution you have the option to work with a SAP Rep.
Edited by: Don Williams on Feb 7, 2011 1:32 PM
just a note:
tried at home with a Windows 7, 32-bit machine, (no VS or any other IDE installed) and IE 9 beta and the web site CR works!!
With IE 9 beta you can actualy debug the website.
A tool similar to the one used by Chrome allows you to go into the jscript code and actually debug line by line.
I can debug into crv.js and at the very beginning the bobj object is nill so it gets created fine and from there everything else works 😮
So.. what the heck.
this demostrate once for all my web site and the web server are all configured right, the CR viewer folder is in fact found and the code works.
The question is now: why it doesn't work on Vista 32-bit machines with IE 8 ??!?!? (I tried on 2 different Vista machines both up to date with Microsoft patches)
Is IE configuration and permissions another thing to add to the already long list of possible things causing "BOBJ is undefined" ?
to be continue tomorrow at the office with the Vista machines..
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.