I'm writing an intranet application that allows users to start a custom encoding session via Widows Media Encoder remotely through a web interface I developed in C#.
When I run the code locally in debug mode(http://localhost:1234/MyWMEApp
) it runs without issue. When I try to access it through IIS (http://localhost:1234/MyWMEApp
, or http://MyComputerName/MyWEMApp
) I get the following error:
System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at...
The line it errors at is Encoder.PrepareToEncode(true).
Any help would be greatly, greatly appreciated.
Thanks in advance,