Sign In  |  Register
 
 
DotNetNuke Support Forums
Multiple controls with the same ID ScriptManager Error
Last Post 08 Feb 2008 08:23 AM by chocolate. 5 Replies.
Printer Friendly
Sort:
PrevPrevNextNext
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
chocolate
New Member
New Member
Send Private Message
Posts:51

--
23 Jan 2008 07:49 AM  

Hi John,

I recently get this error which is driving me mad. Each time it occurs, it breaks my Host Settings & Event Viewer pages. After restarting the server, everything is back to normal until that error pops out again.

Could you take a look at the error log? I'm running DNN 4.8.0 on a VPS account (fresh install)

AssemblyVersion: 04.08.00
PortalID: 0
PortalName: DotNetNuke
UserID: 1
UserName: host
ActiveTabID: 19
ActiveTabName: File Manager
RawURL: /Host/File Manager/tabid/19/ctl/Edit/mid/323/ftype/Module/rtab/18/portalid/0/language/en-US/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://mysite.com/Host/File%20Manager/tabid/19/ctl/Edit/mid/323/ftype/Module/rtab/18/portalid/0/language/en-US/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.3;MEGAUPLOAD 1.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 10daae72-8722-4edc-9f93-47c506b55cd5
InnerException: Multiple controls with the same ID 'ScriptManager' were found. FindControl requires that controls have unique IDs.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Control.FillNamedControlsTable
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Multiple controls with the same ID 'ScriptManager' were found. FindControl requires that controls have unique IDs. ---> System.Web.HttpException: Multiple controls with the same ID 'ScriptManager' were found. FindControl requires that controls have unique IDs. at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) at System.Web.UI.Control.EnsureNamedControlsTable() at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Page.FindControl(String id) at DotNetNuke.Framework.DefaultPage.SetSkinDoctype(String SkinPath) at DotNetNuke.Framework.DefaultPage.LoadSkin(String SkinPath) at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

John Mitchell
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4350
Avatar

--
23 Jan 2008 03:52 PM  
This is just a guess so it may not work, but try removing the Systems.Web.Extensions.dll file from the /bin folder.
Just move it to a different place and then try to use the file manager, etc.

If the host and admin pages still work then you can leave that file out of the /bin folder and then see if the issue comes back.
John Mitchell
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4350
Avatar

--
23 Jan 2008 03:56 PM  
chocolate
New Member
New Member
Send Private Message
Posts:51

--
23 Jan 2008 11:24 PM  

Thanks John,

Will give it a shot and let you know if it works.

Just curious, what does Systems.Web.Extensions.dll do? Will it affect other features?

John Mitchell
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4350
Avatar

--
24 Jan 2008 09:20 AM  

That DLL is the one that has the ScriptModule. Ajax will not work without it, but it may already be available on your server at a higher level. If everything still works without it in the /bin, then it is coming from a higher level on the machine called the GAC.

All that being said, the above guess probably won't fix it for you. I did a little more looking into this, and I think the problem stems from the core DNN code not doing a good enough job of making sure there is only one on the page. Why more than one is getting injected is a mystery though.

chocolate
New Member
New Member
Send Private Message
Posts:51

--
08 Feb 2008 08:23 AM  

You're right John. It comes from DNN core. I had to turn Ajax off until the core team fixes this bug.

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.


Active Forums 4.1
Visit our Store for great DotNetNuke Modules and Skins
DotNetNuke CSS Menu 3.4.6 (single use)

Item codeCSSNM33SU
AuthorJohn Mitchell
Base Price$39.00
Product Information 
DotNetNuke CSS NavMenu 3.4.6 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
DotNetNuke Performance Caching & Compression - PageBlaster 3.4.5 - Professional Edition

AuthorJohn Mitchell
Base Price$59.00
Product Information