I have set up an IIS server and am trying to run a demo web page from http://d3js.com. I have dropped in the copied example html file and the data.csv file. In fiddler I can confirm that the html file loads fine, but when it tries to load the data.csv it generates an error 406.. It is strange because I can access the CSV file directly from the browser http://localhost/data.csv. This error is associated with mime types, but I just want the file to be consumed by the d3 code in the original html file. Where should I begin looking next?
Thanks...
OK, more info... It turns out it is the reference to the .js file itself. If I put the library file on another server and access it via URL it works fine, but when I try to access it from the localhost server it fails. So I need to configure a MIME type for .js files, or configure something in IIS to allow it to access .js files...Any help?