Skip to main content

load report failed error - with formatted crystal reports, iis6 and asp.net.net

Error: load report failed

This error troubled us a lot in reports deployment on 64bit server with IIS 6   and took at least 5 hours continuous focus to fix. 
We tried to troubleshoot by giving all permissions to the iis user to application folder, application pool recycled,   server reboot and even compared all deployment files in the problem environment with the one in application working environment. But we are failed to fix. 

Still, with some hope in mind we tried executing other reports, then we found they are giving the error : Request timed out. 
We fixed this by increasing the execution timeout. In web.config, please set the executionTimeout:
<httpRuntime executionTimeout="700" /> 
But then we found that these reports also giving the same error: load report failed.

Then finally, we tried assigning full rights to IIS user to following directories on portal server.
C:\WINDOWS\Temp
C:\Temp

It Worked!!

Popular posts from this blog

Debugging code running on Remote machine

Before performing below steps, you need to make sure you have pdb files matching dll version on the remote machine.  Open below folder in your remote machine C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Remote Debugger\x64  Open that folder and launch as admin  msvsmon.exe  Select all options to allow firewall From Tools > Options  - Keep the settings to default (as shown below) and click ok.  At this point your remote debugger is all set. You need to connect from Visual Studio by entering Machine IP: Port (4022) 

Using IsInRole() with Forms Authentication

A Little background…. Page object provides User [ System.Security.Principal.IPrincipa l ] in order to access to the information about the current authenticated user. User is having following two important members. These members provide way to implement Role-based authorization programmatically. Identity [Property] [ System.Security.Principal.IPrincipal.Identity ] – This property provides important members like AuthenticationType, IsAuthenticated, Name. IsInRole [Method] [ System.Security.Principal . IPrincipa l ] – This method takes single parameter that is string value of Role for which to check the membership.

Reboot WorkerRole using Azure Automation RUNBOOK

Problem:  Scheduling worker role can become a big pain when it comes to long running background tasks. This is because there are no scheduling options available for worker role (as on date of publishing this article) although there are some alternatives to sleep worker role for a while. We needed to automate the process re-executing worker role based on schedule typically every day interval.  We choose Webjobs as it has best scheduling options to execute back ground jobs. Although, we can interact with azure cloud management using azure management libraries and management certificate, it became hard to encrypt the sensitive information such as certificate string, subscription id etc,. Solution: We found Automation RunBooks are the way to go to solve this problem. As it has out-of the-box support to write powershell workflows to manage azure. Nice thing about Runbooks is that it has good scheduling options so that we can schedule workflow as a recurring event.  ...