RE: ASP.NET 2.0 Crystal reports failing on server



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


.



Relevant Pages

  • Re: ASP.NET 2.0 Crystal reports failing on server
    ... Oh boy - I will forward yr response to my developers - thanks so much for ... I have had too many headaches with Crystal Reports to remember so I feel ... on the production server, ... no additonal configuration should be necessary. ...
    (microsoft.public.dotnet.general)
  • Re: ASP.NET 2.0 Crystal reports failing on server
    ... Here you will see the option of adding Crystal Reports for .NET, ... Take the build and deploy it to the production server and then run it. ... 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. ...
    (microsoft.public.dotnet.general)
  • Re: ASP.NET 2.0 Crystal reports failing on server
    ... The situation that Jason describes with having only the framework ... It installs the CrystalDecisions library. ... I have had too many headaches with Crystal Reports to remember so I feel ... on the production server, ...
    (microsoft.public.dotnet.general)
  • Problems when posting site
    ... the production server, ... An error occurred during the processing of a configuration file ... the applications configuration or the connection string is empty. ... Source Error: ...
    (microsoft.public.dotnet.languages.vb)
  • cannot relay email messages
    ... Could it be any firewall in the middle that's not allowing the relays? ... Is there any configuration file in the production server that I can look into to allow the relaying from other server with different subnet. ...
    (SunManagers)