Ivan Gold Membership
 Nuke Addict Posts:81

 |
| 11/15/2007 3:56 PM |
|
I have been playing with PA and it throws the below error from time to time when I am logged in as host:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Multiple controls with the same ID 'PropertyAgent_3411_2' were found. FindControl requires that controls have unique IDs. ---> System.Web.HttpException: Multiple controls with the same ID 'PropertyAgent_3411_2' 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.EnsureNamedControlsTable() at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Page.FindControl(String id) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Great module though.
Ivan
|
|
|
|
|
Robert Axford Gold Membership
 Nuke Master Posts:765


 |
| 11/15/2007 4:08 PM |
|
I've been getting these as well daily since upgrading to 4.7, but mine refer to a different control: "Multiple controls with the same ID 'Scriptmanager' were found" I'd love to know how to fix it.. perhaps it's something related to yours as well. |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 11/23/2007 6:50 AM |
|
| Can you reliably reproduce this by performing specific actions? |
|
Scott McCulloch Site Administrator |
|
|
Codepoint Gold Membership
 Nuke Wiz Posts:147

 |
| 11/23/2007 8:16 AM |
|
Hi, I've similar error when I send message to agent:
Errore critico
Multiple controls with the same ID 'PropertyAgent_9221_2' were found. FindControl requires that controls have unique IDs.
How Can solve it?
|
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 11/23/2007 12:11 PM |
|
| Hmm, I'll look into it, you say you get it when you send a contact message? Anything cached on that page? |
|
Scott McCulloch Site Administrator |
|
|
Mike Lawell Gold Membership
 Nuke Newbie Posts:7

 |
| 11/23/2007 1:19 PM |
|
I'm also having the error ... it gives the error consistently in 01.04.07 and .08 wether logged in as host or not logged in at all.
It happens when I add the [CONTACTFORM] token and click on the send link. |
|
|
|
|
Codepoint Gold Membership
 Nuke Wiz Posts:147

 |
| 11/24/2007 1:25 AM |
|
Hi, I've 4.6.2 DNN version. I've no module cached on my page. I've this problem not in all property contact form. You can see it on my testing link: gruppo2.immobiliaremastromei.it
How you can see there are two property if you try to send a message one work ok the other don't work!
Any Idea? |
|
|
|
|
Ivan Gold Membership
 Nuke Addict Posts:81

 |
| 11/25/2007 4:11 PM |
|
| I am still getting the error. It occurs when I switch from DNN edit mode to DNN view mode - it trows the error and remains in edit mode. I need go to another page and then back to the page with PA for the error to go away. |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 11/25/2007 4:17 PM |
|
What are you viewing in property agent to cause this? I need "specific instructions" on how to reproduce this as I've never been able to reproduce it consistantly. |
|
Scott McCulloch Site Administrator |
|
|
Ivan Gold Membership
 Nuke Addict Posts:81

 |
| 11/25/2007 4:22 PM |
|
it happens when I am in edit mode and viewing the detail page for a property (view template). then when I swith to view mode it throws the error. it doesn't do this when viewing other module screens. on the page the only thing I have is PA and PA latest. using IE6. hope this helps:) |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 11/25/2007 4:38 PM |
|
Does the page have a contact form on it? (and anything cached?)
Can you send me a screenshot of the page you are viewing before you click the edit/view (support@ventrian.com) |
|
Scott McCulloch Site Administrator |
|
|
Ivan Gold Membership
 Nuke Addict Posts:81

 |
| 11/25/2007 4:44 PM |
|
yes, it has the contact form. I just imported your Real Estate template and haven't touched much on it (maybe a couple of custom fields) will send you a pic |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 11/25/2007 4:55 PM |
|
I have seen codepoint's site, and setup a very similar page in development. I can't make it do that postback error, it also occurs when you click on search (any postback really). I've seen this happen from time to time on people's sites, but never been able to reproduce it consistantly. |
|
Scott McCulloch Site Administrator |
|
|
emilio Gold Membership
 Nuke Active Member Posts:30

 |
| 12/03/2007 1:44 PM |
|
Hi Scott,
I didn't care about this error because I thought it only happens when logged in in edit mode, but today it happened when I tried to login to dnn from the page where property agent has an instance. Here are all the scenarious you can try to reproduce the error:
1. While on the Property Details (View) page try to switch the DNN Edit Mode from Edit to View:
A critical error has occurred.
Multiple controls with the same ID 'PropertyAgent_1321_6' were found. FindControl requires that controls have unique IDs.
2. While on the Property Details page and not logged in to DNN try clicking on the Login: A critical error has occurred.
Multiple controls with the same ID 'PropertyAgent_1321_6' were found. FindControl requires that controls have unique IDs.
3. Clicking Print on the Property Details page - can be seen here
It happens on clean install on 4.6.2 build 1.4.10 - Ihope it helps.
P.S. the link in point 3 is not my site i saw the link in previous post and it happened when i browsed the site. It happens also on my local install too.
|
|
|
|
|
emilio Gold Membership
 Nuke Active Member Posts:30

 |
| 12/03/2007 1:48 PM |
|
Scott,
I didn't care much about this error until I realised I can not print the Property View/Details Page.
By clicking on the link from the [PRINT] token I get:
 |
A critical error has occurred.
Multiple controls with the same ID 'PropertyAgentPrint_4069_4' were found. FindControl requires that controls have unique IDs. |
my property agent instance id is 406.
Any ideas? Anything to try to get rid of this problem?
Any help is greatly appreciated. |
|
|
|
|
emilio Gold Membership
 Nuke Active Member Posts:30

 |
| 12/11/2007 11:19 AM |
|
Just for the record - I managed to eliminate the error!
It appears that at least in my case the error was triggered by the [PHOTOSMALL] token which was at the top of my Print.Item.Html and View.Item.Html template. At the top I had some javascipt with the following variable:
var infobox = '(div class="NormalBold")(a href="#PropTop") [PHOTOSMALL] (/a)(/div)';
I'm using the Property Agent with Virtual Earth to display location and I need this variable to display the property image in a popup while the user hovers over the property location icon on the interactive map. The same code is in the Print and View templates.
Simply by moving the script at the end of the template the error went away.
Scott, it looks like it is a token parsing problem - the token was used too early in the template...
I hope this will point you in the right direction to troubleshoot the issue.
Emil |
|
|
|
|
jamie edwards Gold Membership
 Nuke Addict Posts:77


 |
| 12/11/2007 11:36 AM |
|
Emil, do you have a url so we can look at your Virtual Earth integration? I need to get either google maps or virtual earth working for the listings and would like to see how other guys are doing it. Thanks! (I know this is off topic, if it turns into a thread hyjacking I will start a new post) |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 12/12/2007 8:49 PM |
|
| I found the issue in the photo tokens where it wasn't setting an ID, hopefully this should fix it. |
|
Scott McCulloch Site Administrator |
|
|
emilio Gold Membership
 Nuke Active Member Posts:30

 |
| 1/11/2008 10:17 PM |
|
Hi Scott,
I think the "Multiple control error" is back with a vengeance. This is my error scenario.
I simply turned the caching on in the module settings and set it to 360. Then next time I when back to the page hosting the module I got this error screen:
DotNetNuke Error: - Version 04.06.02
An error has occurred.
An error has occurred.
Return to Site
I noticed the error message was in the page query string:
"/Default.aspx?tabid=75&error=Multiple+controls+with+the+same+ID+'PropertyAgent-132Template_406'+were+found.+FindControl+requires+that+controls+have+unique+IDs.&content=0"
After the first occurrence of the error every other time the I got the previous dnn error screen with another error message in the query string:
"/Default.aspx?tabid=36&error=Timeout+expired.++The+timeout+period+elapsed+prior+to+obtaining+a+connection+from+the+pool.+
+This+may+have+occurred+because+all+pooled+connections+were+in+use+and+max+pool+size+was+reached.&content=0"
This error bought the whole site down and every request to any page produced the above dnn error screen with the timeout error message.
This happened on a hosted site and i had to ask the support guy to recycle the app pool a few times until i figure out it was the caching setting that caused the problem. While I was troubleshooting between the app pool re-cycles I experienced another error following link from the latest property companion module:
"The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Default.aspx"
again the error message was in the query string:
"/Default.aspx?tabid=75&error=The+Controls+collection+cannot+be+modified+because+the+control+contains+code+blocks+(i.e.+%3c%25+...+%25%3e).&content=0"
I hope it will help you or anyone else who may experience this issue.
Regards,
Emil |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12820


 |
| 1/16/2008 3:41 PM |
|
| You can't cache the property agent module, because it is dynamic. It's like trying to cache a forums module, all users get the same output. |
|
Scott McCulloch Site Administrator |
|
|