cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BOBJ is undefined

Former Member
0 Likes
695

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.

View Entire Topic
Former Member
0 Likes

I had this error last week.

My setup is: Windows Server 2008, IIS7, Crystal Reports 2008

Resolved issue by copying the crystalreportviewers12 folder into the folder \asp_client\system_web\

I then put the the asp_client folder into the root folder of my application.

Maybe you've tried this already. I scanned post quickly.

Former Member
0 Likes

just wanted to let you know that FINALLY we found a solution for "BOBJ is undefined" in our particular case.