Register   Login
     
  Latest Posts  
RE: how to use news article source with dnn source to change and compile whole source code?
by nosa on 7/04/2009 9:02 AM
Dark background skin
by craig on 7/04/2009 5:55 AM
RE: Trial peroid
by glenwin on 7/04/2009 4:45 AM
RE: Different skin for View Item?
by cchufook on 7/03/2009 10:29 PM
RE: Different skin for View Item?
by swebster on 7/03/2009 10:10 PM
Different skin for View Item?
by cchufook on 7/03/2009 8:13 PM
RE: Human friendly URL not working--Urgent
by Madz on 7/03/2009 11:26 AM
RE: Friendly URL and DNN4.8.0 ?
by Madz on 7/03/2009 11:25 AM
Human friendly URL not working--Urgent
by Madz on 7/03/2009 11:11 AM
RE: Google Sitemap Revisited
by georgelew on 7/03/2009 4:26 AM
  Forums  
Subject: Multiple controls with the same ID 'Template_368' were found. FindControl requires that controls have unique IDs.
Prev Next
You are not authorized to post a reply.

Page 1 of 212 > >>
Author Messages
BarrySUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:152


4/07/2006 5:31 PM  
Hi Scott,

using News Articles 5.23 I'm getting this error when I use categoryview:

InnerException: Multiple controls with the same ID 'Template_368' were found. FindControl requires that controls have unique IDs.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Multiple controls with the same ID 'Template_368' were found. FindControl requires that controls have unique IDs. ---> System.Web.HttpException: Multiple controls with the same ID 'Template_368' 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.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id) at DotNetNuke.UI.Utilities.Globals.FindControlRecursive(Control objParent, String strControlName, String strClientID) at DotNetNuke.UI.Utilities.ClientAPI.get_ClientVariableControl(Page objPage) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientVariable(Page objPage, String strVar, String strValue, Boolean blnOverwrite) at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames) at DotNetNuke.UI.Containers.Visibility.Page_PreRender(Object sender, EventArgs e) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---

BarrySUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:152


4/07/2006 5:34 PM  
Darn!  Pressed enter when I just wanted a line break !

I can't say for definite that it's only started happening from 5.23, any idea where I should start looking to try to resolve this?

Barry
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


4/07/2006 9:29 PM  
What else is on the page with news articles? If you get 2 modules manipulating the control hierarchy, it gets confused on IDs..

Scott McCulloch
Site Administrator
BarrySUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:152


4/08/2006 3:29 AM  
I have two image modules, an event listing module and a News Archive module on the page.

I removed the event listing module and all's well again.  Put it on and it doesn't like it.

Sorry for doubting your module Scott, I promise not to do it again.  I'll get in touch with Alan now.

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


4/09/2006 3:46 AM  
I think the problem is that we use the same code for those modules. e.g. injecting modules, this seems to get caught up in the ASP.NET runtime.

I have been thinking about dynamically assigning the ID rather then letting the system do it, I'm not sure if it would work, but would be worth a try..

Scott McCulloch
Site Administrator
BarrySUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:152


4/09/2006 5:28 AM  
This 'id= Template_368' appears in the stylesheet ie:
<LINK id="Template_368" rel="stylesheet" type="text/css" href="/DesktopModules/DnnForge%20-%20NewsArticles/Templates/LSC%20Default/Template.css">LINK>
Any idea why another module might use this id?

Or even why the tag needs an id?
Chris WylieUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:94


4/20/2006 4:05 PM  
I have just upgraded to 5.64 and have the same problem, but with Template_864.

There are only two other modules on the page.
-  a few lines of text/html
- the feedback module

If I select "launch links" then I don't have a problem.

Does anyone know how to fix this?  My client does not want to "launch links".

Thanks,
Chris
Chris WylieUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:94


4/20/2006 4:19 PM  
I deleted all the rest other modules off the page and then category links worked, even without Launch links. So I slowly restored the deleted modules, including Latest Articles and the html. They all work together except for the feed back form. So I'll have to leave it off the page for now. Be sure to post to the topic thread in case you can find and fix this strange bug.

I'm using DNN 3.2.2 on .NET 1.1

This works fine on another server with the same versions.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


4/20/2006 7:21 PM  
Can you post of screenshot of what you have on your page?

Scott McCulloch
Site Administrator
Chris WylieUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:94


4/21/2006 12:22 AM  

Server Error in '/' Application.

Multiple controls with the same ID 'Template_864' were found. FindControl requires that controls have unique IDs.

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.Web.HttpException: Multiple controls with the same ID 'Template_864' were found. FindControl requires that controls have unique IDs.

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:


            
[HttpException (0x80004005): Multiple controls with the same ID 'Template_864' were found. FindControl requires that controls have unique IDs.]
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +134
System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +203
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +164
System.Web.UI.Control.FindControl(String id) +9
DotNetNuke.UI.Utilities.Globals.FindControlRecursive(Control objParent, String strControlName, String strClientID) +44
DotNetNuke.UI.Utilities.ClientAPI.get_ClientVariableControl(Page objPage) +24
DotNetNuke.UI.Utilities.ClientAPI.RegisterClientVariable(Page objPage, String strVar, String strValue, Boolean blnOverwrite) +17
DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames) +528
DotNetNuke.UI.Containers.Visibility.Page_PreRender(Object sender, EventArgs e) +191
System.Web.UI.Control.OnPreRender(EventArgs e) +67
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1499

[PageLoadException: Multiple controls with the same ID 'Template_864' were found. FindControl requires that controls have unique IDs.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +345
DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +364
System.Web.UI.TemplateControl.OnError(EventArgs e) +109
System.Web.UI.Page.HandleError(Exception e) +68
System.Web.UI.Page.ProcessRequestMain() +2100
System.Web.UI.Page.ProcessRequest() +218
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300





Roger SelwynUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:35

6/26/2008 4:03 AM  

Scott,

A couple of years on from this one and I still get this type of error, when clicking on a link in the search results. Consequently I still can't turn on Core Search Integration, which is frustrating. Is there any fix for this?

The only other modules I have on the page are Newsletter Archives and a text box. I assume Search integration must work, I just can't see why it does for me :-(

This is the error I'm getting:-

AssemblyVersion: 04.08.04
PortalID: 0
PortalName: The Diving Club - Reading
UserID: -1
UserName:
ActiveTabID: 58
ActiveTabName: Newsletters
RawURL: /Newsletters/tabid/58/ArticleType/ArticleView/ArticleID/2/PageID/2/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 808fc525-57d1-438b-af99-c9f052a7bea7
InnerException: Multiple controls with the same ID 'Template_755' 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 'Template_755' were found. FindControl requires that controls have unique IDs. ---> System.Web.HttpException: Multiple controls with the same ID 'Template_755' 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.AJAX.RemoveScriptManager(Page objPage) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: GENERIC31

Thanks
Roger

BillyUser is Offline
Gold Membership

Posts:25


8/07/2008 6:16 PM  

Hi,

Same problem here...

Any suggested solution?

Thanks, Scott,

Bill

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


8/07/2008 6:42 PM  
Bill, can you start a new thread and post the specifics of your issue, e.g. it occurs when coming search, etc.

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:977


8/08/2008 11:36 PM  
I had the same problem in the past, and I turned off the dnn core search (use Google instead, it's much better !!!!)
If you use Launch link, you will solved your problem normally.
DV FX

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


8/09/2008 2:01 AM  
I've been slowly getting rid of these over time - I'm curious if it happens now.

Scott McCulloch
Site Administrator
Dax DavisUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:344


8/16/2008 12:31 PM  
I'm having this same error and the only modules I have are NA and NA Archives on the page. Latest DNN. Latest NA.

Dax
Dax DavisUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:344


8/16/2008 12:35 PM  
Turning off Launch Links on the NA arcitlce seems to keep the error from occurring when I click on the Month in the Archives module. I guess it is trying to remove the archives module because of the launch links check mark.

Dax
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


8/16/2008 6:49 PM  
Dax, can we start a new thread and can you post me your archive layout and the listing templates in the module.

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:977


9/02/2008 5:16 AM  
Where is the new thread please ?

DV FX

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


9/02/2008 5:19 AM  
There is a new release coming out tonight, can you please re-rest then

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Page 1 of 212 > >>

Forums > Modules > News Articles > Multiple controls with the same ID 'Template_368' were found. FindControl requires that controls have unique IDs.



ActiveForums 3.7