cancel
Showing results for 
Search instead for 
Did you mean: 

Why do i get Load report failed message?

childmr
Discoverer
0 Kudos

I have downloaded and installed the latest release: CRforVS_13_0_18.exe

I have a web application, ASP.NET 4.5 which works fine using the IIS Express web server.

Now I'm attempting to move it to using IIS 7.5 proper on my local development machine, Windows 7 Enterprise and I'm receiving the 'Load report failed' error message.

Per other searches... I have:

Added IUSR, NETWORK SERVICE and IIS_USRS to the C:\Temp folder.

I've setup the App Pool - 32 bit enabled, Identity = NetworkService

In the web.config:

<appSettings>

<add key="CrystalImageCleaner-AutoStart" value="true" />

<add key="CrystalImageCleaner-Sleep" value="60000" />

<add key="CrystalImageCleaner-Age" value="120000" />

</appSettings>

<compilation debug="true" targetFramework="4.5.2">

<assemblies>

<add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.ReportAppServer.DataDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

<add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

</assemblies>

</compilation>

What am I missing here???

Thank you in advance for your time in reading this and any response which can assist me in understanding the means to resolve this issue.

MC

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member292966
Active Contributor
0 Kudos

Hi Michael,

There are differences between IIS Express and IIS. Express runs under your own account on your development machine as compared to a web server where you're using a Service Account.

You've noted you've taken steps to make sure permissions are available. Where are the reports, are they on the local web server or a network folder? This is just to appease my curiosity because I don't know how your application is set up.

In your application, can you add error handling or at the very least, turn on errors in you web.config? Any error will be better than the generic Load Report Failed message.

Is the database accessible from the web server? What database are you using and how is the report connecting to it? Is your application actually logging the report onto the database? If so, what method are you using to log it on with?

As I mentioned, a report can fail for any number of different reasons so error handling after each step can help here.

Brian

childmr
Discoverer
0 Kudos

As I stated above, when I run the report in IIS Express, there are no issues. It runs as expected based on the examples used to code it.

Based on the research on receiving the "Load report failed" error, I've done everything suggested I thought relevant, regarding ensuring the proper accounts have the proper folder rights.

former_member292966
Active Contributor
0 Kudos

Hi,

There are multiple reasons why a report won't load: Is the path to the report valid on the web server? Can the report log onto the database?

These are the two most common reasons outside of not having the correct runtime installed. If you can get a better error message, that would help us.

Good luck,
Brian

childmr
Discoverer
0 Kudos

Both. The folder has the same rights: IUSR, NETWORK SERVICE and IIS_USRS

0 Kudos

Did you install the 32 or 64 bit Redist Package on the WEB Server?

Is \CrystalReportsViewer13 folder shared?

Don