Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryError when placing module on page...Error when placing module on page...
Previous
 
Next
New Post
4/27/2006 2:20 PM
 

I have tried this module before with version 3.X. I have switched to 4.03 and I am now using GoDaddy to host it. I have tried other modules such as the repository and it works. Here is the issue I am getting when I try to place the module on a page, any ideas with this cast error?

AssemblyVersion: 04.00.03
Method: DotNetNuke.Modules.Gallery.WebControls.Pager.Page_Load
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Thiede.us
UserID: 3
UserName: jthiede
ActiveTabID: 61
ActiveTabName: Gallery
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.thiede.us/tabid/61/Default.aspx
ExceptionGUID: 86a71045-04cc-4077-b1d2-b3f35422f6fb
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error:
Message: System.Exception: Unhandled Error: ---> DotNetNuke.Services.Exceptions.PageLoadException: Unable to cast object of type 'ASP.default_aspx' to type 'DotNetNuke.Modules.Gallery.Container'. ---> System.InvalidCastException: Unable to cast object of type 'ASP.default_aspx' to type 'DotNetNuke.Modules.Gallery.Container'. at DotNetNuke.Modules.Gallery.WebControls.Pager.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) at DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) at System.Web.UI.TemplateControl.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.default_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: WINHOST26

 
New Post
4/28/2006 11:13 PM
 
I just uploaded the Gallery module and got the same error trying to place a module on a page.  I'm trying to kill off an old Yahoo group portal site for my membership and replace it with a DNN solution.  But lack of a quality gallery is going to keep from making the switch.
 
New Post
5/9/2006 3:02 AM
 

I got the exact same message:

A critical error occurred:.
Unable to cast object of type 'ASP.default_aspx' to type 'DotNetNuke.Modules.Gallery.Container'.

 

 
New Post
5/9/2006 10:46 AM
 
The issue has already been logged GAL 2184

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryError when placing module on page...Error when placing module on page...


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out