Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

Multiple controls with the same ID ScriptManager Error

Rate this topic:

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

AuthorMessages
chocolate
Posts:51



01/23/2008 7: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 ---


Pijaja.Com - Innovative Site Builder
John Mitchell
Posts:3033



01/23/2008 3: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
Posts:3033



01/23/2008 3:56 PM  

It looks like you are not the only one:

http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=6862&PROJID=2

 

chocolate
Posts:51



01/23/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?


Pijaja.Com - Innovative Site Builder
John Mitchell
Posts:3033



01/24/2008 9: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
Posts:51



02/08/2008 8:23 AM  

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


Pijaja.Com - Innovative Site Builder
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >General-DNN-Help > Multiple controls with the same ID ScriptManager Error



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information