Page 1 of 1

Images of Report is a red cross because of authentication in web.config

Posted: Tue Dec 02, 2008 1:59 am
by Jeffrey
Hi,

I have a problem with loading images of stimulsoft report in my asp.net application.
With all pages in my web application the use should be authenticated.
That’s why I placed this piece of code in the web.config:





The report generates on screen, but the images are red crosses in IE or alt text in Firefox.
Stimulosoft Report generates this code:




When I add "" to the authorization in web.config, the images are loaded in the report.

Does anybody know how to get the images in the report without less security?

This is the code used in aspx-page:







Thanks

Images of Report is a red cross because of authentication in web.config

Posted: Tue Dec 02, 2008 6:42 am
by Edward
Hi Jeffrey.

There is a solution for the issue. You need to upload images on server and to specify path for them e.g. as follows:

Code: Select all

StiWebViewer1.ButtonImagesPath = "/Images"; 
Thank you.

Images of Report is a red cross because of authentication in web.config

Posted: Fri Jun 26, 2009 6:24 am
by Jeffrey
I solved it with your solution. Is this the nicest way to solve it?

Example:

In aspx page is a stiWebViewer control like this.
In de web.config:
......















......

Images of Report is a red cross because of authentication in web.config

Posted: Tue Jun 30, 2009 3:16 am
by Andrew
Hello,

This solution is the best in this case.

Thank you.