Solved

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

Posted on 2010-08-30
7
3,598 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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…
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…
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…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

776 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