BarryS Gold Membership
 Ventrian Wiz Posts:160


 |
| 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 ---
|
|
|
|
|
BarryS Gold Membership
 Ventrian Wiz Posts:160


 |
| 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 McCulloch Administrators
 Ventrian Master Posts:18570


 |
| 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 |
|
|
BarryS Gold Membership
 Ventrian Wiz Posts:160


 |
| 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 McCulloch Administrators
 Ventrian Master Posts:18570


 |
| 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 |
|
|
BarryS Gold Membership
 Ventrian Wiz Posts:160


 |
| 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 Wylie Gold Membership
 Ventrian Wiz Posts:103


 |
| 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 Wylie Gold Membership
 Ventrian Wiz Posts:103


 |
| 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 McCulloch Administrators
 Ventrian Master Posts:18570


 |
| 4/20/2006 7:21 PM |
|
| Can you post of screenshot of what you have on your page? |
|
Scott McCulloch Site Administrator |
|
|
Chris Wylie Gold Membership
 Ventrian Wiz Posts:103


 |
| 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 Selwyn Registered Users
 Ventrian 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 |
|
|
|
|
Billy Gold Membership
 Ventrian Active Member Posts:31


 |
| 8/07/2008 6:16 PM |
|
Hi,
Same problem here...
Any suggested solution?
Thanks, Scott,
Bill |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:18570


 |
| 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éo Gold Membership
 Ventrian Master Posts:1355


 |
|
Scott McCulloch Administrators
 Ventrian Master Posts:18570


 |
| 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 Davis Registered Users
 Ventrian Master Posts:349


 |
| 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 Davis Registered Users
 Ventrian Master Posts:349


 |
| 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 McCulloch Administrators
 Ventrian Master Posts:18570


 |
| 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éo Gold Membership
 Ventrian Master Posts:1355


 |
|
Scott McCulloch Administrators
 Ventrian Master Posts:18570


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