Azure media server and Orchard

Topics: Troubleshooting
Jun 24, 2015 at 1:38 AM
Hello there, Im trying to get the media server from azure connected to my Orchard webpage following up this guide
http://msopentech.com/wp-content/uploads/Microsoft-Azure-Media-Services-Feature-in-Orchard-User-Guide.docx
uploaded by msopentech.
the problem is that when I add the configuration to de web.config file the page stop working.
and i dont know if its because of that, but when i want to import a video from orchard to the cloud i get internal server error.
Trhanks!
Developer
Jun 24, 2015 at 10:41 AM
What are the configuration changes you made, and what is the internal server error that occurs? Perhaps that page reveals some helpful clues.
Jun 24, 2015 at 7:03 PM
adding to the web.config
<staticContent>
         <remove fileExtension=".3g2"/>
         <remove fileExtension=".3gp"/>
         <remove fileExtension=".3gp2"/>
         <remove fileExtension=".3gpp"/>
         <remove fileExtension=".asf"/>
         <remove fileExtension=".asr"/>
         <remove fileExtension=".asx"/>
         <remove fileExtension=".avi"/>
         <remove fileExtension=".dfxp"/>
         <remove fileExtension=".dv"/>
         <remove fileExtension=".dvr-ms"/>
         <remove fileExtension=".flv"/>
         <remove fileExtension=".ism"/>
         <remove fileExtension=".isma"/>
         <remove fileExtension=".ismv"/>
         <remove fileExtension=".ivf"/>
         <remove fileExtension=".lsf"/>
         <remove fileExtension=".lsx"/>
         <remove fileExtension=".m1e"/>
         <remove fileExtension=".m1v"/>
         <remove fileExtension=".m2ts"/>
         <remove fileExtension=".m2v"/>
         <remove fileExtension=".m4a"/>
         <remove fileExtension=".m4v"/>
         <remove fileExtension=".mod"/>
         <remove fileExtension=".mov"/>
         <remove fileExtension=".movie"/>
         <remove fileExtension=".mp2"/>
         <remove fileExtension=".mp4"/>
         <remove fileExtension=".mp4v"/>
         <remove fileExtension=".mpa"/>
         <remove fileExtension=".mpeg"/>
         <remove fileExtension=".mpg"/>
         <remove fileExtension=".mpv2"/>
         <remove fileExtension=".mts"/>
         <remove fileExtension=".nsc"/>
         <remove fileExtension=".ogg"/>
         <remove fileExtension=".ogv"/>
         <remove fileExtension=".qt"/>
         <remove fileExtension=".ts"/>
         <remove fileExtension=".tts"/>
         <remove fileExtension=".vob"/>
         <remove fileExtension=".webm"/>
         <remove fileExtension=".wm"/>
         <remove fileExtension=".wmp"/>
         <remove fileExtension=".wmv"/>
         <remove fileExtension=".wmx"/>
         <remove fileExtension=".wtv"/>
         <remove fileExtension=".wvx"/>
         <mimeMap fileExtension=".3g2" mimeType="video/3gpp2"/>
         <mimeMap fileExtension=".3gp" mimeType="video/3gpp"/>
         <mimeMap fileExtension=".3gp2" mimeType="video/3gpp2"/>
         <mimeMap fileExtension=".3gpp" mimeType="video/3gpp"/>
         <mimeMap fileExtension=".asf" mimeType="video/x-ms-asf"/>
         <mimeMap fileExtension=".asr" mimeType="video/x-ms-asf"/>
         <mimeMap fileExtension=".asx" mimeType="video/x-ms-asf"/>
         <mimeMap fileExtension=".avi" mimeType="video/avi"/>
         <mimeMap fileExtension=".dfxp" mimeType="text/xml"/>
         <mimeMap fileExtension=".dv" mimeType="video/x-dv"/>
         <mimeMap fileExtension=".dvr-ms" mimeType="video/x-ms-dvr"/>
         <mimeMap fileExtension=".flv" mimeType="video/x-flv"/>
         <mimeMap fileExtension=".ism" mimeType="application/vnd.ms-sstr+xml"/>
         <mimeMap fileExtension=".isma" mimeType="audio/isma"/>
         <mimeMap fileExtension=".ismv" mimeType="video/ismv"/>
         <mimeMap fileExtension=".ivf" mimeType="video/x-ivf"/>
         <mimeMap fileExtension=".lsf" mimeType="video/x-la-asf"/>
         <mimeMap fileExtension=".lsx" mimeType="video/x-la-asf"/>
         <mimeMap fileExtension=".m1e" mimeType="video/mpeg"/>
         <mimeMap fileExtension=".m1v" mimeType="video/mpeg"/>
         <mimeMap fileExtension=".m2ts" mimeType="video/vnd.dlna.mpeg-tts"/>
         <mimeMap fileExtension=".m2v" mimeType="video/mpeg"/>
         <mimeMap fileExtension=".m4a" mimeType="audio/mp4"/>
         <mimeMap fileExtension=".m4v" mimeType="video/mp4"/>
         <mimeMap fileExtension=".mod" mimeType="audio/mod"/>
         <mimeMap fileExtension=".mov" mimeType="video/quicktime"/>
         <mimeMap fileExtension=".movie" mimeType="video/x-sgi-movie"/>
         <mimeMap fileExtension=".mp2" mimeType="video/mpeg"/>
         <mimeMap fileExtension=".mp4" mimeType="video/mp4"/>
         <mimeMap fileExtension=".mp4v" mimeType="video/mp4"/>
         <mimeMap fileExtension=".mpa" mimeType="video/mpeg"/>
         <mimeMap fileExtension=".mpeg" mimeType="video/mpeg"/>
         <mimeMap fileExtension=".mpg" mimeType="video/mpeg"/>
         <mimeMap fileExtension=".mpv2" mimeType="video/mpeg"/>
         <mimeMap fileExtension=".mts" mimeType="video/avchd-stream"/>
         <mimeMap fileExtension=".nsc" mimeType="video/x-ms-asf"/>
         <mimeMap fileExtension=".ogg" mimeType="video/ogg"/>
         <mimeMap fileExtension=".ogv" mimeType="video/ogg"/>
         <mimeMap fileExtension=".qt" mimeType="video/quicktime"/>
         <mimeMap fileExtension=".ts" mimeType="video/vnd.dlna.mpeg-tts"/>
         <mimeMap fileExtension=".tts" mimeType="video/vnd.dlna.mpeg-tts"/>
         <mimeMap fileExtension=".vob" mimeType="video/dvd"/>
         <mimeMap fileExtension=".webm" mimeType="video/webm"/>
         <mimeMap fileExtension=".wm" mimeType="video/x-ms-wm"/>
         <mimeMap fileExtension=".wmp" mimeType="video/x-ms-wmp"/>
         <mimeMap fileExtension=".wmv" mimeType="video/x-ms-wmv"/>
         <mimeMap fileExtension=".wmx" mimeType="video/x-ms-wmx"/>
         <mimeMap fileExtension=".wtv" mimeType="video/x-ms-wtv"/>
         <mimeMap fileExtension=".wvx" mimeType="video/x-ms-wvx"/>
</staticContent>
as its sayd on the guide
and the error has no code number cause its an Orchard error, like a little popup from the dashboard itself that says "Internal server error" while im trying to upload a video from Orchard media manager (dashboard) directly into azure media server.
Developer
Jun 25, 2015 at 9:16 PM
What is the file size of the video?