By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,955 Members | 1,793 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,955 IT Pros & Developers. It's quick & easy.

ASP.NET 2.0 Crystal reports failing on server

P: n/a
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
Mar 23 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
BFG
Mike,

I just ran into the same issue. You are missing the assemblies and
dll's that you need.

All you need to do is the following, it worked for me:

Open up Visual Studio 2005--
Create a new web setup project--
Right click on the project name and go to properties--
Click the pre-requisites button--
Here you will see the option of adding Crystal Reports for .NET, click
the checkbox--
Then do a build---

Take the build and deploy it to the production server and then run it.
It will then install everything you need for Crystal Reports and you
should be good to go.

BFG

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
------=_NextPart_000_03A0_01C64E6B.9BC0F860
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 3353

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>We are developing an ASP.NET 2.0 application and
using the in built Crystal report system that it comes with.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial
size=2>=========================================== ===============================</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>Configuration Error </STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>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. <BR><BR>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.<BR><BR>Source Error: <BR><BR></STRONG></FONT>
<TABLE width="100%" bgColor=#ffffcc>
<TBODY>
<TR>
<TD><PRE><FONT face=Arial size=2><STRONG>Line 53: &lt;error statusCode="404" redirect="/ErrorMsg/FileNotFound.htm"/&gt;
Line 54: &lt;/customErrors&gt;
Line 55: &lt;httpHandlers&gt;&lt;add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/&gt;&lt;/httpHandlers&gt;&lt;/system.web&gt;
Line 56: &lt;/configuration&gt;
</STRONG></FONT></PRE></TD></TR></TBODY></TABLE></DIV>
<DIV><FONT face=Arial
size=2>=========================================== ===================================</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is this some type of Licencing issue ? Does it need
to have a separate runtime Licence applied to the server ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any ideas ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Michael</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_03A0_01C64E6B.9BC0F860--


Mar 23 '06 #2

P: n/a
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

Mar 24 '06 #3

P: n/a
Oh boy - I will forward yr response to my developers - thanks so much for
the input !
"Jason Richmeier" <js*@noemail.noemail> wrote in message
news:1D**********************************@microsof t.com...
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

Mar 27 '06 #4

P: n/a
BFG
The situation that Jason describes with having only the framework
without Crystal Reports Library is exactly what I addressed with my
solution. It installs the CrystalDecisions library. I'm sure that is
your problem.

Good Luck, Mike!

BFG

Mike wrote:
Oh boy - I will forward yr response to my developers - thanks so much for
the input !
"Jason Richmeier" <js*@noemail.noemail> wrote in message
news:1D**********************************@microsof t.com...
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


Mar 27 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.