With DNN5.4.2 CKEditor Custom Options give me Scriptmanager duplicate error!

Jun 16, 2010 at 7:03 AM

Hi! I've upgraded my DNN web site to 5.4.2 version
In this website I've CKEditor provider, after installed this new version if I clik on Custom Editor Option I receive an error: Only+one+instance+of+a+ScriptManager+can+be+added+to+the+page.
Below you can see the log about this error:

AssemblyVersion: 5.4.2
PortalID: 11
PortalName: Diving Travel Service
UserID: 1
UserName: host
ActiveTabID: 207
ActiveTabName: Home
RawURL: /Providers/HtmlEditorProviders/CKEditor/Options.aspx?mid=642&tid=207&minc=txtContent&porid=11
AbsoluteURL: /Providers/HtmlEditorProviders/CKEditor/Options.aspx
AbsoluteURLReferrer: http://localhost/test/home/ctl/edit/mid/642.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d8cdeeb7-449a-43a0-b563-80d7c5e81e6c
InnerException: Only one instance of a ScriptManager can be added to the page.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.ScriptManager.OnInit
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Only one instance of a ScriptManager can be added to the page. ---> System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page. in System.Web.UI.ScriptManager.OnInit(EventArgs e) in System.Web.UI.Control.InitRecursive(Control namingContainer) in System.Web.UI.Control.AddedControl(Control control, Int32 index) in System.Web.UI.ControlCollection.AddAt(Int32 index, Control child) in DotNetNuke.Framework.AJAX.AddScriptManager(Page objPage) in DotNetNuke.Framework.PageBase.OnInit(EventArgs e) in WatchersNET.CKEditor.Options.OnInit(EventArgs e) in System.Web.UI.Control.InitRecursive(Control namingContainer) in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- Fine dell'analisi dello stack dell'eccezione interna ---
Source:
Nome server: VM0012

Any Idea to solve it?
ThankYou!

Jun 16, 2010 at 9:15 AM

I've solved!
Edit the /Providers/HtmlEditorProviders/CKEditor/Options.aspx file, then delete this: <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

 

Jun 16, 2010 at 10:26 AM

Already Fixed in Provider 1.10.02, as i Wrote in the Issue Tracker.

P.S.: You dont need to post it in discussions and issue Tracker.

Jun 16, 2010 at 2:34 PM

You're right! It was my mistake.

ThankYou for you great work!