Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Load report failed.Invalid report file path.?

Hi to all,

I create a web application and dynamically bind some records it's working fine in my machine but in the deployment

machine it raise an error as

Load report failed.Invalid report file path.

This is my sample code to load the crystal report

boReportDocument.Load(Server.MapPath("~//Success//CR_VerticalDesign.rpt"));

Experts tell me what is the probelm and how to solve this?

Softwares i'm using Crystal Report 11.5, Asp.Net 2.0-C#

Thanks in advance

Former Member
Former Member replied

On your your deployment machine, check the settings of the automatically created virtual directory in IIS (5.0 or 6.0 ?).

- Verify if the virtual directory has been created and configured as it should

- Use the Internet Security Options to add the webiste to the trusted zones.

- Verify the security permission (NTFS permissions) on the physical location of your virtual directory as well

as the temp directory. For that, you might need to run Filemon for instance.

- If your IIS is set to run in Isolation mode (IIS 6.0), check the settings of the app pool on which your app is running notably the Application Pool Identity (Default: Network Service).

Cheers

Alphonse

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question