Solved

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

Posted on 2010-08-30
7
3,644 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 101

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 101

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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Introduction ( All good things must come to an end ) The original MySQL API has gone away.  It was deprecated (years ago) by PHP in Version 5.5, and removed from PHP in all current releases .  As a result, the issue is upon us today.  It's time to …
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
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…
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.

729 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