RE: ASP.NET 2.0 Crystal reports failing on server
- From: Jason Richmeier <jsr@xxxxxxxxxxxxxxx>
- Date: Fri, 24 Mar 2006 08:27:02 -0800
I am not certain that this is the solution but I will take a stab at it.
I have had too many headaches with Crystal Reports to remember so I feel
your pain. That is neither here nor there though.
One question I have is whether or not Visual Studio is installed on the
production server. I think the Crystal Reports library that is distributed
for free (version 10.x that you are using) is bundled with Visual Studio 2005
(and not the .NET framework). If only the .NET framework has been installed
on the production server (and not Visual Studio 2005), then I would guess
that the Crystal Reports library is missing (which is what the error appears
to be stating). You should be able to copy the assembly to the GAC on the
production server and everything should work fine.
Now, if you are using things such as the CrystalReportViewer control, there
will be another set of problems when deploying it to the server (you won't be
able to simply copy the project to the server without some additional
configuration...at least that is what happened to me). If you are like me
and have decided to ditch the viewer control and export the reports to PDF
format through code, no additonal configuration should be necessary.
I hope this has helped some and not confused the issue.
Jason Richmeier
"Mike" wrote:
Hi.
We are developing an ASP.NET 2.0 application and using the in built Crystal report system that it comes with.
We have everything running fine on our development server but when we publish the site to our production server - as soon as we visit the site to test it we get a horrible message from crysta reports that we just dont understand as below
==========================================================================
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 53: <error statusCode="404" redirect="/ErrorMsg/FileNotFound.htm"/>
Line 54: </customErrors>
Line 55: <httpHandlers><add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers></system.web>
Line 56: </configuration>
==============================================================================
Is this some type of Licencing issue ? Does it need to have a separate runtime Licence applied to the server ?
Any ideas ?
Thanks
Michael
- Follow-Ups:
- Prev by Date: Re: Just want to write code?
- Next by Date: Re: Does the file REALLY exist
- Previous by thread: Re: ASP.NET 2.0 Crystal reports failing on server
- Next by thread: Re: ASP.NET 2.0 Crystal reports failing on server
- Index(es):
Relevant Pages
|