Dirk Dot Net

Creator of useful things. Based in Chiang Mai, Northern Thailand.

Serving HD View Content with IIS 7

With the default configuration of IIS 7 you will not be able to serve the .wdp images requested by the HD View plugin in the clients browser. The user will get the "Could not create scene from file http://{your source path}/l_{l}/c_{c}/tile_{r}.wdp>. hr=0x..." error message displayed instead of the HD View. As found in this discussion, it's necessary to enable the image/vnd.ms-photo MIME type on the web server, which on IIS 7 is in done IIS Manager >> MIME Types:

image

Simply add a MIME Type for wdp and set the MIME type to image/vnd.ms-photo:
image

Then HD View content should display just fine. Hope it helps.