+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Video Library Error

Video Library Error

5 posts, 1 answered
  1. Kelly
    Kelly avatar
    24 posts
    Registered:
    05 May 2010
    21 Jul 2010
    Link to this post
    I have a Video library (WMV's) established under the Images and Documents module. The upload was successful and plays within the module.  However, when I try to open a video from the page where I have placed the control. I am experiencing a runtime error. Do video libraries need a special setup?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    21 Jul 2010
    Link to this post
    Hello Kelly Andreae,

    • Make sure that the  .xap and other Silverlight MIME types are added for the IIS you use  as described in this article http://learn.iis.net/page.aspx/262/configuring-iis-for-silverlight-applications/
    • The request to the xap file has  not been blocked  - you can use FireBug to inspect this or HttpWatch tool
    • Make sure that the xap file  is located under Sitefinity/TelerikSilverlight/Telerik.Silverlight.xap
    What is the error you are getting ? "I am experiencing a runtime error"

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Kelly
    Kelly avatar
    24 posts
    Registered:
    05 May 2010
    21 Jul 2010
    Link to this post

    The control with ID 'playerHost' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: The control with ID 'playerHost' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [InvalidOperationException: The control with ID 'playerHost' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.]
       System.Web.UI.SilverlightControls.Silverlight.get_ScriptManager() +396
       System.Web.UI.SilverlightControls.Silverlight.OnPreRender(EventArgs e) +21
       System.Web.UI.Control.PreRenderRecursiveInternal() +108
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
    

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    21 Jul 2010
    Link to this post
    Hi Kelly Andreae,

    You should add ScriptManager control inside your master page. This is what the error message says.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  5. Kelly
    Kelly avatar
    24 posts
    Registered:
    05 May 2010
    22 Jul 2010
    Link to this post
    Thanks for your help.
Register for webinar
5 posts, 1 answered