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.
|