Deploying a Crystal Reports Application to a Remote Server
page 1 of 1
Published: 13 May 2005
Unedited - Community Contributed
When deploying a Crystal Reports application written in ASP.NET, must the remote server have the Crystal Reports .NET server components installed? Ben Higgins from the ORCS Webteam addresses a common misconception.
by Web Team at ORCS Web
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 42345/ 32

A common misconception about deploying a Crystal Reports application written in ASP.NET is that the remote server must have the Crystal Reports .NET server components installed. The only thing to keep in mind is that you must purchase a licensed copy of Crystal Reports from Business Objects ( in order to deploy your application to a remote server. The license for the version that comes shipped with Visual Studio .NET is just for evaluation and only works on the local development machine. 

The issue that developers run into is how the Crystal Reports Developer tool is installed on the development machine. When installed, the developer tool installs the server components into the following directory:

C:\Program Files\Common Files\Crystal Decisions\2.5\managed

From there, the components are registered into the local machine's Global Assembly Cache (GAC) located in C:\windows\assembly. If you are using Visual Studio .NET to develop your application, then you reference the Crystal Decisions classes from the GAC. This is fine when you run the application on the local machine. But when you deploy the application to the remote server, by default you will get an error because the Crystal Decisions components are not registered in the remote server's GAC. Here is how you work around this issue.

For all of the classes your application references, you need to go to the above Common Files directory and copy the matching DLL files to your application bin folder. The bin folder is located in the root of your Visual Studio .NET application. Once you have copied the DLLs, remove any old references from your Visual Studio .NET application. You will find this setting in Solution Explorer under References. Right-click any CrystalDecisions.* reference and select Remove. Then right-click on Reference and select Add Reference. Click Browse, where the default directory should be your application's root, and double-click the bin directory. Select the Crystal Decisions components and click Open and then OK. Recompile your application, and upload it to the remote application. Make sure you upload all of the contents of the bin folder.

With the steps above, you should not have any issues deploying your Crystal Reports application built with Visual Studio .NET. If you are still using classic ASP to generate your Crystal Reports, then the components still have to be registered on the server: either use the Installation CD or extract the components and manually register the components on the web server using regsvr32.exe or a COM+ package. You can find additional support information at

Ben Higgins is a support specialist with ORCS Web - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.

User Comments

Title: still unable to resolve   
Name: osman ali
Date: 2012-11-19 12:16:49 PM
Please help me if anyone knows the solution please mail me
I have deployed a web applicaton on our shared server
-CR 10.5.3700.0 (CR for VS2008) 2.0
-target platform x86

the host says that they have crystal report 10.5.3700.0 runtime installed on their server.
I have tried referencing the DLLs and also adding the DLLs directly into the BIN folder. but none of these worked.
our host says that their other customers are using crystal report without any problem.

I get the following error:

An error has occurred while attempting to load the Crystal Reports runtime.

Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.

Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to for more information.
Title: CRRedist2005_x86.msi   
Name: Will
Date: 2011-09-09 6:01:09 PM
This is an outdated article.
as far as I can understand it, visual studio 2010 Crystal Reports must have
(for 32 bit Windows Server 2003)

Also try these helpful links:
Title: thanks!   
Name: ANDY
Date: 2011-06-24 5:34:42 AM
it help me lot but i am still trouble with deploying crystal reports in with application. what should i do?
Title: Thanks lots   
Name: Sachan
Date: 2011-03-06 11:46:49 AM
it seams helpfull
Title: Thank You Very Much   
Name: Sandip Khillate
Date: 2010-12-23 2:06:20 AM
Thank you very much...!
it helped me a lot.
Title: THANKS   
Date: 2010-11-01 1:33:48 PM
Title: Thanks   
Date: 2010-10-22 3:30:56 AM
Title: CLSID Error   
Name: Gaurav
Date: 2010-08-13 2:11:07 AM
Error No. 80070005

can adybody solve please send me at
Title: thank you   
Name: Manoj
Date: 2010-04-20 2:35:04 AM
this is very helpful document
and thanks for that
Title: Nice Things   
Name: Vijai kumar
Date: 2009-12-17 7:48:56 AM
its nice collection for me and other one
Title: CRRedist2005_x86.msi   
Name: Elango.S
Date: 2009-11-30 3:35:55 AM
I also need how cant we add it (CRRedist2005_x86.msi) into the prerequisties.
Title: CRRedist2005_x86.msi   
Name: Elango.S
Date: 2009-11-30 3:34:57 AM
I need the which Crystal Reports version that uses the CRRedist2005_x86.msi.

Title: Sr. Software Engineer   
Name: Rawad
Date: 2009-08-25 3:34:38 PM
Hello All,

We are new in the company for Crystal Reports. We have developed a few reports but we're facing a problem. When we migrate the application the development box to the testing box, the crystal reports still try to reference the database on the development box, thus not working unless the 2 computers have the exact same name.

I tried modifying the database logon programaticaly, but didn't help

singleIncidentRprt.SetDatabaseLogon(Config.userName, Config.password, Config.server, Config.dbName);

Any help?
Please email me at if you can help.
Thanks in advance.
Title: Crystal Report Basic 2008   
Name: Ashish Jain
Date: 2009-08-14 5:05:16 AM
i have all the required dll for the crystal report, but when i deployed my project on remote server, it's give the error related to some permission parameter. Please tell me what will i do.
Title: Crystal Report Basic 2008   
Name: reyCute
Date: 2009-07-28 8:51:37 PM
I have crystal report basic 2008 (bundled in VS2008) deployed on a server. I have copied all crystal dll files in the bin and installed CRRedist2008_x86.msi, located in my local D:Program Files.Microsoft SDKs.Windows.v6.0A.Bootstrapper.Packages.CrystalReports10_5 as advice by the other forum. But still missing component showing in my browser.

Server info.
OS: Windows Server 2003 R2 Standard Edition
Windows Root: D:
Title: Crystal Report Basic 2008   
Name: reyCute
Date: 2009-07-28 8:49:47 PM
Title: Problem deploying ASP.NET app using Crystal Reports   
Name: Pranjal S
Date: 2009-03-27 10:39:31 AM
Thanks for this wonderful piece of information. Helped me a lot.
Title: till have -problem   
Name: navnath
Date: 2009-03-07 7:24:47 PM
My host service provider not support me for crystal report.
I have upload all crystal dll file in bin but yet error showing on the brower that is Runtime Error
Pls help me
Title: Thank you   
Name: Reza Shirazi
Date: 2009-02-17 6:36:32 AM
Thank you for your nice article.
Title: How to Make Crystal Report Application work in Web Server   
Name: Kamra
Date: 2008-12-10 6:17:51 AM
Hi, I have developed ASP.Net Application using Crystal Report. We have original copy of CR XI but i am not being able to make it work in the remote web server. Please tell me step by step process to make Crystal Report Application work in the Web Server. Please Help
Title: How to Deploy Crystal Report on Remote Server   
Name: Saurabh Goel
Date: 2008-12-10 2:33:52 AM
I am using Asp.Net 1.1 and Crystal Report XI but not licensed one. On Local Development Machine, it runs but on Remote Server it gets an Parse Error:
Could not load file or assembly 'CrystalDecisions.Web, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Title: Crystal reports   
Name: Anil
Date: 2008-08-06 5:59:38 AM
We have developed a websites with 2003 and Crystal report X1.

System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {F0A36D7F-4068-44B5-809D-9E91AE74FBDB} failed due to the following error: 80040154 while transfering to shared web server
Title: It works!   
Name: ML
Date: 2008-07-30 5:09:37 PM
Thanks! I've been searching the internet for hours looking for a resolution to this issue and this fix worked!! Thanks again!
Title: Best Solution of Crystal Report   
Name: Amir Keka
Date: 2008-05-20 6:18:39 AM
I solved the problem with Crystal Reports with Merge Modules.

It works,
Title: Viewer Icons Missing   
Name: SD
Date: 2008-04-25 9:46:18 AM
I am using VS2005 and CR XI with SP1. I followed the instructions and found all the dll reference and moved them to the bin and removed the old references from the website and config file. The viewer displays however, no icons appear. Is some resource missing that needs to be included besides the dll's?
Title: bin folder   
Name: nd
Date: 2008-04-05 7:29:35 AM
I am sorry, would you please tell me where is the bin folder? I know my question is too funny.I don't use IIS
Title: Csc   
Name: Amir Keka
Date: 2008-01-28 5:40:48 PM
I have developed an windows application and its normally that its requires .NET Framework. When I install this software in another PC, I install .NET Framework. But the problem that I have get is with CrystalReport Assemblies.

"Can't load the CrystalReport Assemlies" which mean thay are missing.
.NET Framework install just some assemblies for itself, my question is that what I have to intsall to solve this Problem, because I Can not Install all Visual Studio.NET in each computer where I install this software.
Title: Unbelievable   
Name: A SAP
Date: 2008-01-27 9:20:22 PM
Why is this such a headache. I have spent the day researching this and trying to deploy on a remote server. SAP/Business Objects/Crystal/Seagate should all hang their heads in shame for creating such irritation. (sorry, I just had to vent)
Title: Deploying a Crystal Reports Application to a Remote Server   
Name: Shameer
Date: 2008-01-02 12:29:31 AM
We have developed a websites with 2003 and Crystal report X1.

Its working in my local machine. when i tried it on the webserver the crystal report is giving problems. I have copied the DLLs as mention above to my bin directory and recombile it and copy it to the web. But i getting this CLSID error..

System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {F0A36D7F-4068-44B5-809D-9E91AE74FBDB} failed due to the following error: 80040154

Please help in this.
Title: chart not showing up   
Name: Karen
Date: 2007-11-06 2:26:37 PM
To fix this, I created a folder on the server called Crystalreportwebformviewer2 and copied the file crystalimagehandler.aspx into it. This file is from the Crystal Reports/Viewer folder in the Visual Studio.Net 2003 program files.
Title: "Logon Failed"   
Name: Sreeraj
Date: 2007-10-09 8:24:15 AM
I can use MS.NET 2003(1.1).After hosting crystal report to exe,get an error "Login Failed".I think that it comes from using server name in that code.How can access these and related code using web.config file?Any one can know this problem help me please........
Title: Deploying a Crystal Reports Application to a Remote Server   
Name: Lucas Correa
Date: 2007-10-02 5:48:48 PM

Have a look at the page 8 of the documentation below:

After having tested everything was mentioned here, my problem was solved following that document.

[ ]'s
Title: Thanks SOOOO MUCh   
Name: Dave B
Date: 2007-10-01 4:37:17 PM
This was the only solution that has worked for me yet . . . and I have tried alot. The last company I worked for scrapped their CR licencewhen they experienced this problem. Unfortunately I dont have that option. I had to make it work. Thanks again for the solution.
Title: CLSID Error   
Name: Dave M.
Date: 2007-09-07 5:46:36 PM
Has anybody found a fix for this? We bought CR XI Developer because we did not think we would have to deal with this sort of thing.
Title: For broken chart image of crystal report when deployed in multi website enviorment.   
Name: Tarun
Date: 2007-07-28 10:09:07 PM

When u try to deploy ur application in website other than default website, many times the chart doesnt show up. Just start the " State service" from the service. it will work.
Title: Getting CLSID error   
Name: Saket B
Date: 2007-06-20 11:23:06 AM
We have developed a reporting tool for one of our websites, which is developed in CR 9.0.

We did try to deploy reports in the way you have suggested, but we are still getting same error of CLSID.

there are total 9 DLLs which we added as reference and uploaded to our shared hosting space in bin folder of our active directory.

are we missing something more to be done??

Can you help us in this regards?

Thanks in Advance!!
Title: Nice   
Name: Lal
Date: 2007-06-14 6:28:41 AM
Yes it it excellennt expalnation.
Thansk lot
Title: about   
Name: samidurai
Date: 2007-05-31 9:04:58 AM
Title: Is there any free component for displaying Crystal Reports on web pages   
Name: Shahid Khan
Date: 2007-05-25 8:55:08 AM
Is there any free component for displaying Crystal Reports on web pages, if yes the please post url.

Thanks in advance
Shahid Khan
Web Developer of &
Title: COM object with CLSID {F0A36D7F-4068-44B5-809D-9E91AE74FBDB} is either not valid or not registered   
Date: 2007-04-09 6:20:59 AM
COM object with CLSID {F0A36D7F-4068-44B5-809D-9E91AE74FBDB} is either not valid or not registered

Title: Deploy Crystal Web Application   
Name: jeni
Date: 2007-02-27 10:18:27 PM
I found a simple to follow guide to deploying a crystal web app here:
Title: RE the type initializer for CrystalDecision.CrystalReports.Engine.ReportDocument' threw an exception   
Name: Eric Landes
Date: 2007-02-20 10:58:11 PM
Amit, This error is not familiar to me. But perhaps this is a permissions problem. Also, if you go to Yahoo groups or aspadvice, there are Crystal .NET groups which can help you with answers to this question.
Title: the type initializer for CrystalDecision.CrystalReports.Engine.ReportDocument' threw an exception   
Name: Amit mishra
Date: 2007-02-20 12:12:45 AM
sorry but it not work .
i have installed my web application (ASP.NET and CR 10)on window 2000 server .
and i am getting error on each of the forms when i try to open Reports on server.

error description
the type initializer for CrystalDecision.CrystalReports.Engine.ReportDocument' threw an exception
Title: chart not showing up   
Name: Lisa
Date: 2006-12-28 1:43:14 PM
I am using Crystal Reports 10 and Visual Studio 2005. I am creating a line chart, but it will not show up in the website. I get a red X. How do I fix this?
Title: Does not Work - See BOBJE Article   
Name: Frank
Date: 2006-12-13 4:35:57 PM

It is a bad news for me but thanks a lot for your help.


Title: Crystal is not showing   
Name: Sam
Date: 2006-11-29 5:24:04 PM
I'm using VS.2005 with crystal Reports 10. I create my report and published my web site on different web server (Win 2003 Server). after I created and installed the CRRedist2005_x86.msi package on the server I can run the report but without any menu...the menu of the report is not showing good and not addition after several trial the report stopped to show at all..I tried several method but nothing is working I reinstalled the web application again...but after I have the same problem...
in other hand when I tried to create the deployment packag I receive error that cannot import merge file (Embeddedrepporting,...)
please some help.

best regards
Title: Crystal report   
Name: Denny Thomas
Date: 2006-11-20 4:13:21 AM
"Runtime Error" comes when we run the project from server, but it work perfect from my local machine. can anybody help this problem.
Title: References   
Name: References
Date: 2006-10-13 3:07:57 PM
Title: Does not Work - See BOBJE Article   
Name: Will Ballard M.
Date: 2006-08-17 11:36:27 AM

I'm sorry - but this suggestion does NOT exactly work. BusinessObjects does not allow what is called a 'no touch' deployment of Crystal Reports on a remote server. I learned this the hard way by following these suggestions (of including the DLLs in your application's bin folder. The problem with this approach is that you do not have a means to register (or enter the license key of )the copy of Crystal Reports you're using remotely. If you follow these steps, you'll run into the error someone posted on here (COM object with CLSID {F0A36D7F-4068-44B5-809D-9E91AE74FBDB} is either not valid or not registered.)

Not convinced? Check Knoledgebase article # c2015162 on BusinessObjects website (

What to do? Call your webhost and see if they'll install your application's merge module (see article article above for details on how to create this) or let you do so from the control panel (if such an option exists).

Will Ballard M.
Title: Help Me   
Name: Gnanavel
Date: 2006-07-27 4:54:22 AM
System.TypeInitializationException: The type initializer for "CrystalDecisions.CrystalReports.Engine.ReportDocument" threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {F0A36D7F-4068-44B5-809D-9E91AE74FBDB} is either not valid or not registered.
Title: Not Working   
Name: Michael Chowmein
Date: 2006-07-07 7:10:18 AM
I tried these intructions but it did not help me at all. I am using .net 2.0 and SQlserver.
Title: ash   
Name: ash
Date: 2006-06-23 6:18:12 AM
this is helpful .
but after building web set up .I am not gettig mso which i have to store in bin plz help
Title: Chart created in Crystal reports 9.0 with ASP.NET is not displaying on Remote Server   
Name: Pawan Singhal
Date: 2006-05-31 8:29:12 AM
Dear all,

i am getting this unknown error.

The chart I have created in my VS.Net 2003 project for web is not showing,instead it is showing a red 'X'.Although the runtime image of chart is creating properly in the Temp Directory but it is not displaying on my asp page.

Please Help.

Title: Help Please   
Name: Sharon
Date: 2006-04-25 8:46:30 AM
I am using Visual Studio 2005 Express and I have Crystal Reports 10 Developers Edition installed on my computer. I have removed all references to Crystal reports GAC from my application. I have added the necessary dll's to my bin folder but when I try to add a reference to the dll's in my bin folder it just doesn't happen.

Any advice would be greatly appreciated.
Title: Deploy my app to a Shared Hosting   
Name: Douglas Borrero
Date: 2006-03-02 4:57:59 PM
Mr. Higgins,
I need to deploy my ASP.NET application to a shared web hosting, and it must show a number of reports (the aspx pages have CrystalReportViewer embedded). I did some test with the trial version of Crystal XI Developer and then I realized that needed the full product to publish on the web, as read in the article above. Then I bougth Crystal XI Developer Full, and followed all the sequence stated here, but I have not been able to see the reports on the web yet. Do you have any other suggestions? Thanks in advance
Title: deploying windows application with crystal report   
Name: memo
Date: 2005-11-15 3:30:29 PM
i have the following problem i tried all your suggestions, for removing all the CrystalDecisions.* files from the reference and copy thim from common files into the application pin file and recompile it. but what ever i do i face this problem when i repoint the CrystalDecisions files in the reference into the pin file and recompile it works that cooool but when i recheck the CrystalDecisions files file path from it properties i finde that it path was redirect into the common file path as i didnt do anything
and i dont know why
i use V.S. 2005 beta 2? any suggestions
Title: Crystal Report Deployment in .aspx   
Name: Sini Chacko
Date: 2005-09-20 4:31:52 AM
Thanks a lot!!
The article is very useful, my problem was .aspx pages displaying crystal reports contents from local server but not from remote server.
But now its solved..
Title: Deploying .Net App Uses Crystal Report to Remote Server   
Name: Van
Date: 2005-06-09 12:04:57 PM
Yes, at first I did try to upload all the needed CrystalDecision DLLs to the BIN directory(I matched these with the DLL s inside References).

I tried your new suggestion, and got new error: "COM object with CLSID {F0A36D7F-4068-44B5-809D-9E91AE74FBDB} is either not valid or not registered." It seemed that CR COM dll somehow only got registered when install, didn't have a flexible option for this issue!! Am I missing something here? Do you have any suggestion?

Many thanks in advance for your help.

Title: Deploying .Net App Uses Crystal Report to Remote Server   
Name: Pam Dean
Date: 2005-06-08 3:07:40 PM
What we suggest you do is perform a search on your local developing machine for a file that starts with CrystalDecisions.web and upload to your /bin folder.
Title: Deploying .Net App Uses Crystal Report to Remote Server   
Name: Van
Date: 2005-06-08 10:17:28 AM
Hello Mr. Higgins,

Thank you very much for sharing your tip. I have tried your technique of working around the issue, but it didn't work. I got ERROR: CrystalDecisions.Web.... not found.

I followed your instruction exactly... delete, add, recompile, and upload all the files inside my project to the remote server. And did double check the BIN directory for all the CrystalDecisions DLL on the server, and yes they're all there.

I am using Crystal Report XI - Developer Edition (I do have a valid license key), and Visual Studio .Net 2003. Very hope you could give me some suggestion on this!!

Thank you very much once again,
Title: License is for production as well   
Name: Ben Higgins
Date: 2005-05-26 4:19:05 PM
Thank you for your feedback. I've updated my article to clarify this issue at The EULA that you pointed out is for Crystal Reports that comes with Visual Studio .NET. This license agreement is only for this version and does not restrict a fully licensed version of Crystal Reports. As I stated in my original article, you must have a licensed copy of Crystal Reports in order to upload it to a remote server. So I did not encourage anyone to break the license agreement for Crystal Reports on VS.NET.
Title: License is for production as well   
Name: Richard Dudley
Date: 2005-05-19 3:36:00 PM
>The license for the version that comes shipped with Visual Studio .NET is just for evaluation and only works on the local development machine.

This is *very* wrong. The license that ships with VS .NET 2003 is a production license, and applications can be deployed to server platforms (VS 2005 isn't officially released yet, so we'll reserve comment until then). Deployment is limited by license to entities within your own organization. You need special permission to deploy or allow third parties to access a CR .NET application. If you open up the VS .NET help index, and look for "Crystal Reports, licensing" you'll find the EULA and a deployment explanation.

Section 4.2 of the EULA pretty much clears this up:
"The Runtime Software may be installed on only one server in each Server Environment, and only one instance of the Runtime Software per Server/Web Application may be utilized on that Server at any one time. While you may allow Access to the Runtime Software by an unlimited number of users, the version of the Runtime Software provided with Visual Studio .NET is a performance limited edition..."

It is the report designer bundled with VS .NET that is only allowed to be deployed on a single machine for a single named user (and this part isn't worded very clearly--a hallmark of EULAs--so this may be the source of the error). This restriction is similar to the license for VS .NET anyway, and the designer only works inside of VS .NET, so this condition almost doesn't need to be said.

You are prohibited by license to deploy a CR .NET application on a server not owned by you (following the information in this article would put you in violation of the CR license). Again, section 4.2 states "After you have activated your copy of the Software, you may install and use Server/Web Applications in one or more Server Environments owned or operated by you for your internal business purposes."

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-06-20 8:15:29 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search