hello:
I have a project using xmlmap control,it can run well when I choose "Use Visual Studio Development Server".but there is a mistake when I use Local IIS Web Server. There is no description of the error. The situation is the map can't display, but the MapScalepan can show well. By the way ,I have installed IIS on my computer。 What's the problem, if there is some attributes should be modified?
Hi,
I know that the post is old, but I felt upon it trying to find a solution to the same problem.
Finally, in IIS you have to set up the MIME types for both .shp and .dbf files as:
application/octet-stream
Hi fancyaj
You might need to add a ClientAccessPolicy.xml to the Web root if the Silverlight application is hosted on different port from the shape files.
Please let me know if it works for you.
Best Regards, Ivan Kotev
Also, if there is a small sample app you can provide that would assist greatly in resolving this efficiently. And as much information as you can provide about how your virtual directory is configured.
-Graham
In the IIS logs do you seen any entry for that file? If not then Silverlight is not even trying to download it on your behalf. Could you share some more information? What is the uri you are assigning to the shape file reader. What is the Xaml you are using for the XamMap? When you open the site is it http or https. Localhost? or your machine name?
I have the same situation ,no error in IIS log,the shapefile can download when i put the full url into the browser.