When I add a MIME type to IIS 7 via the following code with appcmd, it shows up in the list but doesn't work.
appcmd set config /section:staticContent /+"[fileExtension='.mp4 ',mimeType='video/mp4']"
If I add it via the IIS GUI it works as expected. However, I need to script this for a server deployment so I need to know how to make it work with appcmd.