IIS Map doesn't show

2 posts, 0 answers
  1. Kai-Uwe
    Kai-Uwe avatar
    12 posts
    Member since:
    Jun 2012

    Posted 19 Apr 2011 Link to this post

    Hi,

    I have a RadMap configured to show the sample continents using Shapefiles.

    <

     

     

    telerik:MapShapeReader Source="../Shapes/world_continents.shp"

     

     

     

     

    DataSource="../Shapes/world_continents.dbf"

     

     

     

    ToolTipFormat="CONTINENT" />

     


    Works fine with the VS 2010 Web Development Server.

    But when I change the Start options to use custom server instead of default web server then the map simply shows the background and does not load the shapes.

    How can I use custom server with RadMap? 
  2. Kai-Uwe
    Kai-Uwe avatar
    12 posts
    Member since:
    Jun 2012

    Posted 19 Apr 2011 Link to this post

    Hi,

    ok, found the information in the general topic of this silverlight forum.

    I have to add the mime types for the used shp and dbf files to IIS, like:

    <

     

     

    system.webServer>

     

     

    <

     

     

    staticContent>

     

     

    <

     

     

    mimeMap fileExtension=".dbf" mimeType="application/octet-stream" />

     

     

    <

     

     

    mimeMap fileExtension=".shp" mimeType="application/octet-stream" />

     

     

    </

     

     

    staticContent>

     

     

    </

     

     

    system.webServer>

     


Back to Top