Click to See Complete Forum and Search --> : Load Report Failed


bvsreddy
March 18th, 2004, 03:06 AM
Hi Babu ,

We have a problem with crystal reports. We developed a web application in .Net. We used Visual Studio.Net 2003 to develop the application. And for developing reports for web application we used crystal reports supplied along VS.Net 2003.

We created crystal reports and those are working fine at our end. But the same reports are giving error 'Load report failed' when we host the application at client's place (Windows 2003 Advanced Server). We have investigated the problem and found that, this is because of permission that has set for 'Temp' directory of WINNT/Windows. We asked client, to give access permissions for IIS_WPM for Temp fielder. But they are not allowing to do it because of security issues and they asked us, instead of using default 'Temp' folder to create temporary reports, create your own temp folder in the application and let crystal reports engine create temporary reports in that folder. For this to be done we can set environment variable for TMP/TEMP to 'Application Temp'. The problem with the above one is, all the temporary files those will be created in WINNT/Temp (not only temporary reports) now redirect to application temp folder. This should not be happened. We need only crystal reports temp files should create in our application temp folder.

Your help will be greatly appreciated.

Thanks
Suresh Reddy.
:)

SergioT
July 26th, 2005, 09:48 AM
Hi

I see that you resolve the problem on a win2003 using TEMP permissions, can you pleaseeeeeeee tell me how?????

I gave full control to iis_wpg over c:\windows\temp and over C:\documents and settings\miUser\temp and nothing works!!!

I have vs2003 on the win2003 server I work on that machine with the vs2003

THANKS FOR YOUR TIME AND HELP

Sergio

sureshnov83
January 20th, 2010, 10:31 PM
Hi,

I'm using vs 2005. I've called crystal reports Using Report Document. I believe its not related to OS problem. Because in my desktop i'm having win XP. Here also i got that (Load Report Failed) problem. One of other forum suggested the coding

public ReportDocument myReport;
protected void Page_Unload(object sender, EventArgs e)
{
if (myReport!= null)
{
myReport.Close();
myReport.Dispose();
}
GC.Collect();
}

After implementing this code also, I got the same problem. Can any one suggest me to fix this problem

Thanks
Suresh.S