title: Issue in converting ppt to video with Microsoft interop library
body: <p>I am using Microsoft Interop Library to create a Video from a powerpoint presentation.The power point presentation contains
  internal embedded videos and animations.</p>
  <p>The Interope library works perfectly well and we are able to create the video successfully when we run the application in the Visual studio.
  When we deploy the code in the IIS Server the Video creation still works successfully however, the Videos embeded internally within the presentation
  do not work.</p>
  <p><strong>Does any one have any idea about this behaviour of IIS and Visual Studio ?</strong>
  We have checked the Mime types in IIS and all extensions .mov. .mp4 are already present</p>
  <p>Here is the code :</p>
  <pre><code>var videoRelativePath = &quot;\\UserData\\User_&quot; + templateObj.UserId + &quot;\\VideoTemplate\\Vid_&quot; + timeStampNew + &quot;.mp4&quot;;
              var videoPath = _environment.ContentRootPath + videoRelativePath;
              ErrorLoging.LogMessageInLogFile(System.DateTime.Today.ToLongTimeString() + &quot; - &quot; + &quot;Initializing powerpoint application for video creation&quot;);
              Microsoft.Office.Interop.PowerPoint.Application ppApp = new Microsoft.Office.Interop.PowerPoint.Application();
              Microsoft.Office.Interop.PowerPoint.Presentations oPresSet = ppApp.Presentations;
              ErrorLoging.LogMessageInLogFile(System.DateTime.Today.ToLongTimeString() + &quot; - &quot; + &quot;OPening the presentation Instance&quot;);
              Microsoft.Office.Interop.PowerPoint._Presentation oPres = oPresSet.Open(
                videoFileNameForConversion,MsoTriState.msoFalse,MsoTriState.msoFalse,MsoTriState.msoFalse);
              //System.Threading.Thread.Sleep(180);
              oPres.UpdateLinks();
              try
              {
                  //CreateVideo(string FileName, bool UseTimingsAndNarrations, int DefaultSlideDuration, int VertResolution, int FramesPerSecond, int Quality)
                  ErrorLoging.LogMessageInLogFile(System.DateTime.Today.ToLongTimeString() + &quot; - &quot; + &quot;Calling CreateVideo &quot;);
                  oPres.CreateVideo(videoPath);
                  while (oPres.CreateVideoStatus == Microsoft.Office.Interop.PowerPoint.PpMediaTaskStatus.ppMediaTaskStatusInProgress || 
                  oPres.CreateVideoStatus == Microsoft.Office.Interop.PowerPoint.PpMediaTaskStatus.ppMediaTaskStatusQueued)
                  {
                      System.Threading.Thread.Sleep(10000);
                  }
               }
  
              catch (Exception er)
              {
                  ErrorLoging.LogErrorInLogFile(er);
  
              }
  </code></pre>