472,357 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,357 software developers and data experts.

ASP.NET 2.0 Crystal reports failing on server

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
4 21372
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: rAGHU | last post by:
Hi, In my ASP.NET web application project we need to design crystal reports with Crystal Reports version 8.5 enterpraise edition(Please Note:It is not the Crystal Reports that comes with...
2
by: Tim Burda | last post by:
I posted this in another forum, but I'm adding it here to for more exposure.I am using Visual Studio 2003 and trying to get Crystal Reports to produce output. If you have any ideas, please let me...
14
by: LP | last post by:
Hi, I will be taking on a new project developing a web-based "reporting system". The first requirement I got from BI group is "we just want to look at the data". Basically, there is a huge...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
17
by: Peter Proost | last post by:
Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're...
1
by: Lyners | last post by:
Hello all, I have created an ASP.NET website that uses Crystal Reports that works on the localhost (my PC), but when I copy it to the server it does not. The problem is...
9
by: Altman | last post by:
I am currently using ASP.Net 2003 and will be upgrading to 2005 sometime in the near future. I have been having issues with using Crystal Reports that were included with .Net to handle my...
0
by: Mark Gold | last post by:
Hi! We have a VB application using Crystal Reports 6 that has worked successfully on hundreds of systems for over 10 years. Now, on one network, the application and access database does not close....
3
by: Miro | last post by:
Hi, Just wondering what a good book is on visual studios 2008 ( or 2005 if no 2008 ) that teaches you how to properly use crystal reports with it. Or im assuming that as long as I can create a...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
1
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.