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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...upgrade from 5.1.4 to 5.5.0upgrade from 5.1.4 to 5.5.0
Previous
 
Next
New Post
9/27/2010 5:52 AM
 
I've just upgraded to DNN 5.5.1 and my custom module is now broken. I receive the following error: "DotNetNuke.Services.Exceptions.ModuleLoadException: Invalid cast from 'System.Int32' to 'System.Nullable` " . This happens when my custom module interacts with a database which has nullable fields

My custom module is using an info class with a nullable fields, which is supposed to get hydrated using the CBO.FillCollection method from a controller class. This worked in the previous version 5.1.4, but now, after the upgrade to 5.5.1, I'm receiving these cast errors.

Am I doing something wrong here or is this some kind of bug?

 
New Post
9/27/2010 11:06 AM
 
My guess is that this is related to issues similar to this item - http://local.dotnetnuke.com/Community/Forums/tabid/795/forumid/111/postid/206319/scope/posts/Default.aspx

If you can go the route of implementing IHydratable you should be fine.

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
9/28/2010 12:25 AM
 
So if i understand correctly the only way out for me is to modify the source code of all my modules ? There are 12 custom modules deployed on 10 customer sites. I would really want to avoid modifying the source code if possible
Are there any plans of DNN to have this bug (if i can call it so) to be fixed in future releases? 
 
New Post
9/28/2010 4:40 AM
 
if you didn't implement your custom data layer according to the dev guidelines, you might need to correct your module to keep it working with latest version of the framework, sorry. Same applies, if you are implementing deprecated methods.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...upgrade from 5.1.4 to 5.5.0upgrade from 5.1.4 to 5.5.0


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