Last post Apr 01, 2009 03:22 PM by mwisebaker
Mar 31, 2009 08:01 PM|mwisebaker|LINK
This seems to be a common problem based on all my Google searches, but none of the fixes I've found seem to work.
Here's the scenario - I've got a bunch of .rpt files I'd like to display using the CrystalReportViewer control. On my local machine, it works like a charm. However, when I deploy the code to my server, I get the "Load Report Failed" error.
I have already:
1. Quintuple checked that the path being loaded is correct
2. Given the users ASPNET, IISANONYMOUSUSER, IIS_WPG and NETWORK SERVICE full control over the root folder where all the reports are stored.
3. Given those same users full control of the temp directory.
I can observe the temp files being created whenever the page is accessed. They aren't destroyed though. And before you say "Be sure to call the Dispose method", the error seems to be created the instant I call the report.Load() method, so I don't know how
I could possibly call the Dispose method at the same time.
Apr 01, 2009 03:13 PM|manojbavikati|LINK
I think you should install the runtime on the server and check to see if that might fix your problem.
Apr 01, 2009 03:22 PM|mwisebaker|LINK
We had the runtime installed already. I uninstalled and reinstalled and that didn't help.
What finally did work, though, was adding the NETWORK SERVICE account to the Administrators group. Probably not viable in the long run, but it at least lets us hobble through to get the code fully working and tested.