?
Solved

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

Posted on 2010-08-30
7
Medium Priority
?
3,688 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
Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

 

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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video teaches users how to migrate an existing Wordpress website to a new domain.
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.

765 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