locked
ActiveX media player embedded in a .Net UserControl embedded in a webpage RRS feed

  • Question

  • User618024959 posted
    Hi all,

    I have a 3rd party ActiveX media player, which is embedded in a C# UserControl to extend its capabilities. The UserControl then needs to be embedded in a webpage servered up by ASP .Net. I can get the media player to work fine in the UserControl, and I can get the UserControl to embed in the web page when I take out the media player.... but when I try to get the media player in the UserControl in the web page, it does not load correctly.

    The ActiveX media player is installed on the machine, and the C# UserControl is installed to the GAC, and its DLLs are also on the server for download.

    Anyone have any idea what could be causing this? Thanks in advance.

    Monday, June 9, 2008 3:19 PM

Answers

  • User-1136466523 posted

    Hi,

    <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>

    I guess what you are talking about is the custom server control instead of the user control (.ascx), right? Since how can user control be added into GAC? If so, a Web page that contains a custom ActiveX control may not load as expected in Internet Explorer due to defense in depth changes introduced in cumulative security update 896688 (MS05-052).

    <o:p> </o:p>

    For details and workaround, see:

    <o:p> </o:p>

    http://support.microsoft.com/kb/909738/en-us

    <o:p> </o:p>

    Thanks.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 10, 2008 10:19 PM

All replies

  • User-1136466523 posted

    Hi,

    <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>

    I guess what you are talking about is the custom server control instead of the user control (.ascx), right? Since how can user control be added into GAC? If so, a Web page that contains a custom ActiveX control may not load as expected in Internet Explorer due to defense in depth changes introduced in cumulative security update 896688 (MS05-052).

    <o:p> </o:p>

    For details and workaround, see:

    <o:p> </o:p>

    http://support.microsoft.com/kb/909738/en-us

    <o:p> </o:p>

    Thanks.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 10, 2008 10:19 PM
  • User618024959 posted

    I'm talking about a component that extends System.Windows.Forms.UserControl, which has an ActiveX control embedded in it, and then that UserControl is embedded in a webpage. The problem was that the user control didn't have enough trust to run, so increasing its trust fixed it.

    Thursday, June 12, 2008 4:45 PM