Solved

How can I configure and deploy Crystal Report for .NET Framework 4.0.30319

Posted on 2010-08-30
7
3,584 Views
Last Modified: 2013-11-05
Hi, I am trying to deploy a ASP.NET web application on IIS. My application has a Crystal Report(CR) which uses CR for Visual Studio (VS) 2010. It works fine on development server (press F5 in VS to run debug mode on development server). However, when I deploy it in IIS 7.5. It doesn't work.
I has download CR for VS 2010 runtime at http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20322 and installed it already but no use. It doesn't appear any error message. It just print up "Error, Load report failed.". How can I deploy it? or at least how can I know what the error is for me to troubleshoot?
I'm running IIS 7.5 with .NET Framework 4.0.30319. I have installed "SAP Crystal Reports for Visual Studio 2010 Beta 2 - Redist (32 bit)". That text name appear in my "Programs and Features list".
0
Comment
Question by:YVF
  • 4
  • 2
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 33563429
Have you seen this document

Deploying Crystal Reports for Visual Studio 2010 Beta
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d085f103-ff2d-2d10-2f9e-ffb14d10ef33?QuickLink=index&overridelayout=true

What version of Windows on the server?
Crystal Reports for Visual Studio 2010 (BETA) Supported Platforms
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e06b8953-a62b-2d10-38b9-ca71f747e2b1?QuickLink=index&overridelayout=true

mlmcc
0
 

Author Comment

by:YVF
ID: 33563540
I did read those documents. However, about the first document, it brings up the trick to re-bind CR v14 to v12 but the runtime package for v14 is released already. Therefore, I installed it (http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforNET40_x86.exe). Moreover, the I tried to do those step in that document but all I got is a error that tell me I've used the old version (v12) while I have the new one (v14) installed.

I am running Windows 7 Ultimate (32 bit), IIS 7.5, .NET Framework 4.0.3x. I've installed CR for VS 2010 and runtime. Download from http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20322 (1st and 2nd links). Is there any chance for me to view the clearer error message than "Error. Load report failed"

I have run on VS 2010 development server (F5 in VS 2010) and it works fine. It just doesn't work when I deploy on IIS.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 33563692
I don't know of a way to get at a better error message.

I don't know enough networking to help

mlmcc
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:YVF
ID: 33563715
Now, I uninstall "SAP Crystal Reports for Visual Studio 2010 Beta 2 - Redist (32 bit)". Delete all of folders in "C:\inetpub\wwwroot\aspnet_client\system_web\" then reinstall "SAP Crystal Reports for Visual Studio 2010 Beta 2 - Redist (32 bit)" again. In "C:\inetpub\wwwroot\aspnet_client\system_web\" now appear 2 folders "2_0_50727" and "4_0_30319". Both of them contain "crystalreportviewers14" folder. Then I go and restart IIS, refresh CR page. And I got the error "bobj is not defined" from Firebug on Firefox. What am I thinking now is somehow the CR cannot access to "C:\inetpub\wwwroot\aspnet_client\system_web\<whatever framework is>"
0
 

Author Comment

by:YVF
ID: 33563730
I copied "C:\inetpub\wwwroot\aspnet_client\" to my web application directory on IIS. "bobj is not defined" error is done. However, "Error. Load report failed" still there. Any help?
0
 
LVL 11

Expert Comment

by:tickett
ID: 33564783
Can you pop into your code some form of

Try
 your_report_load_code
Catch ex as Exception
 write ex.Message to file or display on screen
End Try

That will normally give you the reason for the "Load report failed"

L
0
 

Accepted Solution

by:
YVF earned 0 total points
ID: 33565908
I have solved this problem. It was missing the real Crystal Report file when publishing. There was a bug when converting .NET Framework 3.5 to 4.0 so that it made those files unable to publish. I have checked "bin" folder for dll and report files. Thanks for helping me.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
This video teaches users how to migrate an existing Wordpress website to a new domain.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now