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 ForumsGalleryGalleryGallery Module 3.0.11 on DNN 4.0.2Gallery Module 3.0.11 on DNN 4.0.2
Previous
 
Next
New Post
1/31/2006 6:25 PM
 

I'm very new to DNN. I installed the lastest version of DNN and modules I need. After having setup the blog module, I try to add the gallery module. I immediatly get an error "A critical error has occurred. Unable to cast object of type 'ASP.default_aspx' to type 'DotNetNuke.Modules.Gallery.Container'."
I spent some time searching on the forum and on the web.
I know now that this problem has been reported for some times now and community still complain about it.
The bug in even reported here http://support.dotnetnuke.com/Issues.aspx?m=1&c=3&v=1 but the status is Trivial (If this one is trivial, I'm scared to meet a Show Stopper one !)
Dev team, do you want help on this issue ?

 
New Post
1/31/2006 11:41 PM
 

HI Danvy,

Crispy has said that the gallery module hasn't been tested to work with DNN 4.0.2.  There are, I think, some people that have gotten it to work but I've not seen anything about how they did it posted to the forums. 

From what I've read here in this forum the Gallery module & DNN 4.0.2 combo will not be supported until after they stop developing for the DNN 3.2 branch. It's probably marked down as trivial because of that.

If you have VS 2005 and the source code it might be as simple as changing the type case for the gallery container to what is expected.  I've not tried anything at all with DNN 4.0.2 yet.


Paul Davis
 
New Post
2/1/2006 9:33 AM
 
It has been impossible for me to reproduce the error. I have not seen it yet happen. In this same forum there's a user that has DNN 4 and Gallery working. I have noted before that Gallery is still Beta, although it was an oversight not to say it clearly before.

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
2/1/2006 3:55 PM
 

Here is the page where I get the error
http://www.danvy.info/Default.aspx?tabid=75
This is a clean (new) install of DNN 4.0.2 and Gallery 3.0.11.

Do you want me to send you some log file or do something on the server ?

Alex

 
New Post
2/2/2006 2:39 PM
 

Here's the error with debug symbols.  I realize the project team is working hard on the DAL for the next release, but it sure would be nice to fix the current beta for v4.x users.

The error is in ControlPager.ascx.vb at line 63:

Dim mContainer As DotNetNuke.Modules.Gallery.Container = CType(Me.BindingContainer, DotNetNuke.Modules.Gallery.Container)

InnerException: Unable to cast object of type 'ASP.default_aspx' to type 'DotNetNuke.Modules.Gallery.Container'.
Message: 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) in C:\DNN4.0.2_Source\Website\DesktopModules\Gallery\Controls\ControlPager.ascx.vb:line 63 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 ---
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryGallery Module 3.0.11 on DNN 4.0.2Gallery Module 3.0.11 on DNN 4.0.2


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