Register   Login
     
  Latest Posts  
Create article not using 'edit skin'
by mattbunce on 7/29/2010 10:41 AM
Sexy comments
by mattbunce on 7/29/2010 10:35 AM
RE: NewsArticles slider examples
by kalak on 7/29/2010 9:49 AM
ENH: Like and dislike button
by bennypg on 7/29/2010 8:14 AM
RE: Search for location distance
by Codepoint on 7/29/2010 8:03 AM
RE: delete album in module, but not on server
by aggiebeck on 7/29/2010 7:29 AM
RE: Exporting photos
by aggiebeck on 7/29/2010 6:52 AM
RE: New Attachment Process
by jwinters on 7/29/2010 6:00 AM
RE: Standard template changed
by Aramus on 7/29/2010 4:12 AM
RE: NewsArticles slider examples
by nokiko on 7/29/2010 3:48 AM
  Forums  
Subject: [ERROR]
Prev Next
You are not authorized to post a reply.

Author Messages
georgelewUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:505


1/28/2010 9:52 PM  

I'm getting this error randomly but I'm not sure the cause...

 

UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 GTB6 (.NET CLR 3.5.30729)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

InnerException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

Method: System.Web.UI.ControlCollection.Add
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). ---> System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) --- End of inner exception stack trace ---

 

I suspect it is due to following codes in the viewproperty.ascx but not sure the new version of PA will still causing it.



Thanks,

George

Looking for Invite Friends Module?
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:18313


1/29/2010 12:39 AM  
Did you modify any of the ascx file? Did you recently do an upgrade?

Scott McCulloch
Site Administrator
georgelewUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:505


1/29/2010 4:00 AM  
the editor messed out the codes. It's the original one but older version. Will upgrade to new version and monitor...

Thanks,

George

Looking for Invite Friends Module?
You are not authorized to post a reply.



ActiveForums 3.7