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 ForumsReportsReportsCopy page with modules copied gives errorCopy page with modules copied gives error
Previous
 
Next
New Post
4/20/2011 10:45 AM
 
I have an odd problem I have been trying to troubleshoot for some time. On one of my many DNN sites I use the Reports module to display data as results from motor racing events, the data is input into the DB via a form.

I now have an issue on one of the sites where I want to copy a page that has all the Reports modules listed for each racing class with the query, I want tot copy all the modules to get the query language, so I have to do is update one string in the query to display the desried results. This has been working for quite some time.

Now when I attempt to do this copy, I get an error - Object reference not set to an instance of an object.

This only happens when I want to copy the modules, if I set them to New it works, but of course I do not get the queries to copy within the modules.  When I do get the error, it creates the page and the the first module, but bombs out when it tries to copy the query from the module.

Any help on why this might be happening and how I might fix it would be greatly appreciates, this is causing me a lot more time to update the site.  I do not think it is the Reports Module, I think it is something else causing the problem.

Here is the full error:
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Modules.ModuleController.UpdateModuleSettingInternal(Int32 ModuleId, String SettingName, String SettingValue, Boolean updateVersion) at DotNetNuke.Entities.Modules.ModuleController.UpdateModuleSetting(Int32 ModuleId, String SettingName, String SettingValue) at DotNetNuke.Modules.Reports.ReportsController.UpdateReportDefinition(ModuleController ctrl, Int32 ModuleId, ReportInfo objReport) at DotNetNuke.Modules.Reports.ReportsController.UpdateReportDefinition(Int32 ModuleId, ReportInfo objReport) at DotNetNuke.Modules.Reports.ReportsController.ImportModule(Int32 ModuleID, String Content, String Version, Int32 UserId) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.SaveTabData(String strAction) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdUpdate_Click(Object Sender, EventArgs e) --- End of inner exception stack trace ---
 
New Post
4/21/2011 11:56 AM
 
I moved this to the reports module forum as it appears to be a specific error related to that module.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsCopy page with modules copied gives errorCopy page with modules copied gives error


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