I am trying to deploy a silverlight pivot site, and I ran into the following problem: cxml is only being served correctly from a single directory in the server. If a request the cxml file from it, I get the xml response. If I try another directory, I get a 500 error.
I already added the mime type to the server.
What exactly am I doing wrong?
Best Answer
You need to add that to the list of mime types, its probable that the specific directory where it works it is included locally. You can add it globally using AppCmd.exe:
Or use Mime Types feature in IIS Manager.
For more info: http://www.iis.net/ConfigReference/system.webServer/staticContent/mimeMap