fea39d069993acd2684ee3f75aad062218d73648
FAQ/Cant-load-image-from-url-in-maps.md
| ... | ... | @@ -0,0 +1,34 @@ |
| 1 | +[[_TOC_]] |
|
| 2 | + |
|
| 3 | +#Question |
|
| 4 | + |
|
| 5 | +I'm getting this error: |
|
| 6 | + |
|
| 7 | +```csharp |
|
| 8 | + |
|
| 9 | +ImageLoader - Cant load image from this URL: http://host/rs.aspx?image=dm_bar1.gif |
|
| 10 | + |
|
| 11 | +Stacktrace: |
|
| 12 | +at Dundas.Maps.WebControl.av.a(String , Boolean ) |
|
| 13 | +at Dundas.Maps.WebControl.Symbol.a(MapGraphics , RectangleF ) |
|
| 14 | +at Dundas.Maps.WebControl.Symbol.Dundas.Maps.WebControl.IContentElement.IsVisible(MapGraphics g, Layer layer, Boolean allLayers, RectangleF clipRect) |
|
| 15 | +at Dundas.Maps.WebControl.MapCore.a(MapGraphics , Layer , Boolean , RectangleF , bo , Hashtable ) |
|
| 16 | +at Dundas.Maps.WebControl.MapCore.a(MapGraphics , PointF , bo ) |
|
| 17 | +at Dundas.Maps.WebControl.MapCore.b(MapGraphics ) |
|
| 18 | +at Dundas.Maps.WebControl.MapCore.a(Graphics , RenderingType , Stream , Boolean ) |
|
| 19 | +at Dundas.Maps.WebControl.MapCore.a(Stream , MapImageFormat , Int32 , Panel , Boolean ) |
|
| 20 | +at Dundas.Maps.WebControl.MapControl.SaveAsImage(Stream stream) |
|
| 21 | +at Izenda.AdHoc.DundasMap.GenerateMapControl(Report report, AdHocDataTable formatResult) |
|
| 22 | +at Izenda.Web.UI.HtmlReportRenderer.GenerateReportsControl() |
|
| 23 | + |
|
| 24 | + |
|
| 25 | +``` |
|
| 26 | + |
|
| 27 | +#Answer |
|
| 28 | + |
|
| 29 | +Make sure this setting is set: |
|
| 30 | + |
|
| 31 | +AdHocSettings.DundasImagesPath |
|
| 32 | + |
|
| 33 | +And point it towards this file: |
|
| 34 | + |