i have a project which has a crystal report which is been displayed on a webform.
It runs perfectly on the development machine, but when i try to put it in prod thru a websetup, i get the following error.
i have followed all the steps from the crnet_deployment document got from business objects.
What is the problem?
Server Error in '/Loading' Application.
Load report failed.
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
I created this project on my xp box. the project included a crystal report, i made another websetup project following the crnet_deployment.pdf i acquired from business objects website.
the crystal report build property was selected as an embedded
the websetup when installed on another xp box, installed correctly and the application runs perfectly and the report is displayed
correctly.
but when i run the same websetup on our deployment server, which is a win 2003 box, the crystal report page shows the error
which i displayed in my first post.
What did i do wrong?
What has to be done differently to deploy an appn built in an xp box to be deployed to a win2003 box. pls help!
If Freedom is Outlawed, then only Outlaws will have Freedom!
This may be a permissions problem then. On XP, the worker process uses ASPNET user, but on Win2003, it uses NetworkService. Make sure that NetworkService has the same permissions on the win2003 machine as ASPNET has on your XP machine (probably MODIFY
on the webroot directory).
My best guess is that you have your application set up to use WindowsAuthentication, and the application was trying to impersonate your credentials, rather than the application user. You probably did not have the proper permissions on the server, but you do
on your XP machine. You might want to read portions of this guide for more help:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/secnetlpMSDN.asp
Hi, Business objects forum really sucks. Yes i have managed to solve the problem. this is just a brief summary about how i went about it: if u are using cr version bundled with vs.net then this is applicable. the report should be a embedded report, look in
the properties, it might be content for you. make another project in the solution, which will be a websetup project. So go to this url : http://support.businessobjects.com/communityCS/TechnicalPapers/crnet_deployment.pdf.asp and download the pdf file. Go to
page 5 and follow the steps for creating the websetup.
If Freedom is Outlawed, then only Outlaws will have Freedom!
The issues are the same in VS 2005. Read the white paper (or the most recent version of it) that is linked a couple of posts up. In short: on your dev box, you have VS2005 installed as well as the .NET framework and the necessary Crystal Reports run-time
libraries. You need to install the CR merge-modules on your distribution machine so that it will work there, assuming your issue is similar to the OP.
onto the distribution box using a valid serial number? Just to be clear also, the error you're receiving is one that indicates that the file wasn't found or was it that the file was found but couldn't be loaded?
I guess your development machines IIS and your production machine IIS version & .NET version is not the same. This error occurs if VS version & CR version is mismatched. I had same problem with my web-App which was developed using VS2005 and when I tried
to install that in Windows 10 with many other error "Load failed" error was there. Then I recompile the entire solution with VS2015 and changed necessary references and then all worked. I refer you to see the following thread:
None
0 Points
20 Posts
Crystal report error - Load report failed
Jun 28, 2005 05:54 AM|toanthrax|LINK
Hi,
i have a project which has a crystal report which is been displayed on a webform.
It runs perfectly on the development machine, but when i try to put it in prod thru a websetup, i get the following error.
i have followed all the steps from the crnet_deployment document got from business objects.
What is the problem?
Server Error in '/Loading' Application.
Load report failed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Load report failed.
Source Error:
Stack Trace:
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
Participant
1110 Points
1967 Posts
ASPInsiders
Re: Crystal report error - Load report failed
Jun 28, 2005 09:30 AM|rjdudley|LINK
None
0 Points
20 Posts
Re: Crystal report error - Load report failed
Jun 28, 2005 11:47 PM|toanthrax|LINK
Participant
1110 Points
1967 Posts
ASPInsiders
Re: Crystal report error - Load report failed
Jun 29, 2005 08:47 AM|rjdudley|LINK
None
0 Points
20 Posts
Re: Crystal report error - Load report failed
Jun 30, 2005 02:04 AM|toanthrax|LINK
Hi,
Thanks for your interest in solving my problem.
Let me explain to u the scenario again.
I created this project on my xp box. the project included a crystal report, i made another websetup project following the crnet_deployment.pdf i acquired from business objects website.
the crystal report build property was selected as an embedded
the websetup when installed on another xp box, installed correctly and the application runs perfectly and the report is displayed
correctly.
but when i run the same websetup on our deployment server, which is a win 2003 box, the crystal report page shows the error
which i displayed in my first post.
What did i do wrong?
What has to be done differently to deploy an appn built in an xp box to be deployed to a win2003 box. pls help!
Participant
1110 Points
1967 Posts
ASPInsiders
Re: Crystal report error - Load report failed
Jun 30, 2005 08:51 AM|rjdudley|LINK
This may be a permissions problem then. On XP, the worker process uses ASPNET user, but on Win2003, it uses NetworkService. Make sure that NetworkService has the same permissions on the win2003 machine as ASPNET has on your XP machine (probably MODIFY on the webroot directory).
None
0 Points
20 Posts
Re: Crystal report error - Load report failed
Jul 01, 2005 12:12 AM|toanthrax|LINK
Hi,
I removed the identity impersonate tag from web.config and the report started working on win2003.
Impersonation was set to true in web.config. why was this causing a problem i don't know. Do u?
the tag still remains in same app on my xp box. what was the problem on win2003?
Thanks for taking time out to help me solve the problem. thanks Richard!
Participant
1110 Points
1967 Posts
ASPInsiders
Re: Crystal report error - Load report failed
Jul 01, 2005 11:02 AM|rjdudley|LINK
None
0 Points
41 Posts
Re: Crystal report error - Load report failed
Aug 19, 2005 08:52 PM|IndianScorpion|LINK
I am tried, just couldnt fix the same problem on my application.
Any help?
Thanks,
Joe
None
0 Points
20 Posts
Re: Crystal report error - Load report failed
Aug 22, 2005 03:08 AM|toanthrax|LINK
None
0 Points
4 Posts
Re: Crystal report error - Load report failed
Jul 31, 2007 01:56 AM|siraj|LINK
Hi Rjdudley
1. I am devloping a web site for LAN ,
When I am devlping crystal report on xp it work fine , After thant i install ASP.NET On Windows 2003 ,
And i got Same Problem Crystal report give error "Lad page faild"
In Web.Config file i am giving <identity impersonate="true"/>So Pleas give solution
bye
None
0 Points
4 Posts
Re: Crystal report error - Load report failed
Jul 31, 2007 01:57 AM|siraj|LINK
Hi Rjdudley
1. I am devloping a web site for LAN ,
When I am devlping crystal report on xp it work fine , After thant i install ASP.NET On Windows 2003 ,
And i got Same Problem Crystal report give error "Lad page faild"
In Web.Config file i am giving <identity impersonate="true"/>So Pleas give solution
bye
Load report failed.
Member
1 Points
54 Posts
Re: Crystal report error - Load report failed
Oct 05, 2007 10:00 AM|KewlToyZ_2007|LINK
None of these answer Visual Studio 2005?
Member
91 Points
83 Posts
Re: Crystal report error - Load report failed
Oct 05, 2007 12:06 PM|pontupo|LINK
The issues are the same in VS 2005. Read the white paper (or the most recent version of it) that is linked a couple of posts up. In short: on your dev box, you have VS2005 installed as well as the .NET framework and the necessary Crystal Reports run-time libraries. You need to install the CR merge-modules on your distribution machine so that it will work there, assuming your issue is similar to the OP.
Pont
Member
1 Points
54 Posts
Re: Crystal report error - Load report failed
Oct 05, 2007 02:34 PM|KewlToyZ_2007|LINK
That is just it. I did all of that, it works fine on my dev machine, even when I reference the files on the server.
The security permissions on the folders are identical and I am using Windows active directory security with roles enabled.
But one I place the or publish the files to the server and run them, everything works but the Crystal reports page.
Failed to load comes up.
I even tried making the project folder on the server a share instead of UNC paths.
Remapped it, works fine using the server locations on my machine but won't run the Crystal page from the server itself.
Member
91 Points
83 Posts
Re: Crystal report error - Load report failed
Oct 05, 2007 04:03 PM|pontupo|LINK
Hmm, and you're sure that you installed the appropriate merge modules for your installation from here:
http://support.businessobjects.com/downloads/merge_modules.asp
onto the distribution box using a valid serial number? Just to be clear also, the error you're receiving is one that indicates that the file wasn't found or was it that the file was found but couldn't be loaded?
Member
166 Points
88 Posts
Re: Crystal report error - Load report failed
Oct 10, 2012 02:50 AM|hasan39|LINK
Proven solution
restart your IIS
or Give write permission to temp folder for iis user, current user
details
Thanks in advance
Kamrul Hasan
http://hasanprogram.blogspot.com/
-----------
*Please mark as answer if this helps you.
None
0 Points
1 Post
Re: Crystal report error - Load report failed
Jul 13, 2017 04:42 AM|Madhuri Vishwanath|LINK
I've same problem.
Have you got solution for This?
None
0 Points
4 Posts
Re: Crystal report error - Load report failed
Jul 20, 2017 04:28 AM|Tarique_bd|LINK
Hi Toanthrax,
I guess your development machines IIS and your production machine IIS version & .NET version is not the same. This error occurs if VS version & CR version is mismatched. I had same problem with my web-App which was developed using VS2005 and when I tried to install that in Windows 10 with many other error "Load failed" error was there. Then I recompile the entire solution with VS2015 and changed necessary references and then all worked. I refer you to see the following thread:
https://forums.asp.net/t/2124803.aspx?Crystal+Reports+10+report+Not+working+with+VS2015+Error+Unhandled+exception+at+line+83+0x800a1391+JavaScript+runtime+error+bobj+is+undefined
Hope this will help.
Regards
Tarique Iqbal