asp.netiisactivereports

How to load the images in ActiveReport from ASP.NET on IIS


I have an ActiveReports report in ASP.NET WebSite. This report contains some images on a physical path on Server. The images path is:

\\{Server IP}\Produktion\Img\Art\

I added this path as VirtualPath in Debug and on IIS. The report is rendered good with images in Debug but make an error on IIS. Error text in IIS on report rendering is:

Error: \\{Server IP}\Produktion\Img\Art\img01.png

Physically this image is there.

Can anybody write me how to load right images on IIS (not debug) to can rendering the report.


Solution

  • When you deploy website on IIS, ensure that Application pool user has read permissions on network folder \\{Server IP}\Produktion\Img\Art\