Wednesday, February 02, 2011 7:06 AM
I have the classic bobj is undefined when loading a page containing a Crystal Report viewer.
I found several forums talking about this issue, nothing work for me but I think I should start with the exact version to deploy on the win 2008 server 32bit.
I'm using vs2010 professional 32bit C# and I installed the CR for vs2010 as guided by the semi-automatic installation.
My CR components on the tools show v13
I have a crystalreportviewer13 folder in the apps_client folder under the .net 4 folder and I think this is why loading the page with the CR doesn't crash anymore however it doesn't work either, the report stays white and I see the bobj is undefined err.
I suspect I'm using a wrong CR ver on the server but it says exactly the same servion I see in my web.config file.
so what to install on the server if anything at all or/and
how to deploy the support files for this CR version on the server?
thanks a lot,
maybe an environment problem? do I still need to install a
cr viewer support files on the server?
Thursday, February 10, 2011 8:23 AM
I got solution for your problem,Please try to my step by step.
For my version all seem your.
1. You need to use Web Application Project,No Website Project because Web App will combine DLL to project also.
2. Copy C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13 (you'll got it when you install -CRforVS_redist_install_32bit_13_0.exe) To your project such as (ProjectName/crystalreportviewers13)
3. copy this below to your web.config
<section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null" />
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
<add embedRptInResource="true" />
<add key="ResourceUri" value="/crystalreportviewers13" />
3.4 Publish your web application with FTP Mode to your any folder,and copy this publish to your web server then TEST it!
Please try to do this,if you have any problem please post your error again,I'll review it in soon.
- Marked As Answer by Larcolais GongModerator Tuesday, March 08, 2011 12:37 PM
Thursday, June 09, 2011 4:50 AMthank you thank you thank you :)
Saturday, July 16, 2011 7:56 AMthanks alot man i had the same problem and it drives me crazy and all my searches for solution return nothing except yours which works perfect, really thanks man :)
Wednesday, July 20, 2011 4:34 PMThanks a lot, it worked for me. I have struggled for two days. Now it is working fine.
- Proposed As Answer by ArunRaj_2010 Wednesday, July 20, 2011 4:35 PM