Forums

 
  Support Forum  Modules  Engage: Publish  Simple Gallery: Integration causing exception
Previous Previous
 
Next Next
New Post 2/23/2010 3:42 AM
Unresolved
  PeterBridger
7 posts
No Ranking


Simple Gallery: Integration causing exception 

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

  2/22/2010 7:07:59 PM   Module Load Exception   host     ModuleId: 470; ModuleDefId: 116; FriendlyName ...
ModuleId: 470
ModuleDefId: 116
FriendlyName: News content
ModuleControlSource: DesktopModules/EngagePublish/ItemDisplay.ascx
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: 6a28d4dc-211e-48e8-a9f8-a272201e9a33
InnerException: Parameter count does not match Parameter Value count.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteDataset(String connectionString, String spName, Object[] parameterValues) at Engage.Dnn.Publish.Data.SqlDataProvider.GetSimpleGalleryPhotos(Int32 albumId, Nullable`1 maxCount) at Engage.Dnn.Publish.ArticleControls.ArticleDisplay.DisplayGalleryIntegration() at Engage.Dnn.Publish.ArticleControls.ArticleDisplay.DisplayArticle() at Engage.Dnn.Publish.ArticleControls.ArticleDisplay.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: HQIIS99
 
Previous Previous
 
Next Next
  Support Forum  Modules  Engage: Publish  Simple Gallery: Integration causing exception

Purchase

Please click here to buy now.
Payment will be processed via credit card or PayPal.

Test Drive!

Want to find out how it works? Visit our demo site to see the modules in actions!

Subscribe

Sign up for our newsletter and get the latest product updates!

Online Support

Powered by DotNetNuke