We have Engage:Publish 5.5.2 and SimpleGallery 2.4.17 installed with the 'Use SimpleGallery' tick box checked in the Publish settings.
I've created an album within SimpleGallery and then added an article and select the album from the dropdown box.
However when I then view the article a exception is generated. If I choose no album from the gallery dropdown box, then the article displays without an exception.
The exception shown in the log is listed below:
AssemblyVersion: 5.1.2
PortalID: 0
PortalName: eServices DotNetNuke
UserID: 1
UserName: host
ActiveTabID: 102
ActiveTabName: Engage:Publish article display
RawURL: /tabId/102/itemId/16/Life-on-one-of-the-worlds-most-remote-islands.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://dev.dotnetnuke.com/EngagePublishexperimenting.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 85fc4462-cc23-47b8-86e1-1a44bf417574
InnerException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
FileName:
FileLineNumber: 0
FileColumnNumber: 0
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 ---
Source:
Server Name: HQIIS99