Solved

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

Posted on 2010-08-30
7
3,575 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

758 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

22 Experts available now in Live!

Get 1:1 Help Now