Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • rasb 162 posts 218 karma points
    Jan 17, 2010 @ 16:43
    rasb
    0

    The control with ID 'bitly' requires a ScriptManager on the page.

    Hi Lee,

    I have run into a problem using the bit.ly packages. I install the package, and then add a property to a datatype called bitly. When I then navigate to the Content tab and try to edit a page based on that template I get the following error:

    Server Error in '/' Application.
    
    The control with ID 'bitly' 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 'bitly' 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 'bitly' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.]
       System.Web.UI.UpdatePanel.get_ScriptManager() +365925
       System.Web.UI.UpdatePanel.RegisterPanel() +87
       System.Web.UI.UpdatePanel.OnInit(EventArgs e) +19
       Bodenko.Umbraco.DataType.Bitly.BitlyDataEditor.OnInit(EventArgs e) +20
       System.Web.UI.Control.InitRecursive(Control namingContainer) +333
       System.Web.UI.Control.InitRecursive(Control namingContainer) +210
       System.Web.UI.Control.InitRecursive(Control namingContainer) +210
       System.Web.UI.Control.InitRecursive(Control namingContainer) +210
       System.Web.UI.Control.InitRecursive(Control namingContainer) +210
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +198
       System.Web.UI.ControlCollection.Add(Control child) +80
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +2990
       umbraco.controls.ContentControl.OnLoad(EventArgs e) +136
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    
    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
    

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jan 17, 2010 @ 17:13
    Lee Kelleher
    0

    Thanks rasb, I'll take a look at this error.

    Cheers, Lee.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jan 17, 2010 @ 17:22
    Lee Kelleher
    0

    Forgot to ask... Which version of Umbraco are you using? (v4.0.3 I hope) ... and which version of ASP.NET? As it's probably because I compiled against v3.5.  I'll try a v2.0 build later on today.

    Thanks, Lee.

  • rasb 162 posts 218 karma points
    Jan 17, 2010 @ 17:54
    rasb
    0

    Sorry... Yes I am using Umbraco v. 4.0.3!

    .NET Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

    Server: Windows 2003 SP2.

    Thanks,
    RasB

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jan 17, 2010 @ 18:40
    Lee Kelleher
    0

    Hi RasB,

    I think I know what the problem is, (that I've compiled it for .NET 3.5, it should have been for .NET 2.0) ... would you mind testing it for me? (It's not going to break your Umbraco install, promise! But feel free to say no, if you don't).

    Send me your email address via my contact form, (saves posting it on the forum, for spambots):

    http://leekelleher.com/contact/

    Many thanks, Lee.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jan 17, 2010 @ 22:47
    Lee Kelleher
    0

    @rasb, thanks for your help with the testing!  Version 1.5 is available for download.

    The bug was due to compiling against ASP.NET 3.5, when it should have been v2.0.  But I am developing on Vista (Ultimate), so v3.5 came as default, (that's my excuse and I'm sticking to it!) :-)

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft