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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...HELP! - Error when Exporting Portal TemplateHELP! - Error when Exporting Portal Template
Previous
 
Next
New Post
9/18/2009 11:55 AM
 

I am running DNN 5.1.1 and previously I was able to export a portal containing all content and pages and modules. It worked wonderfully. Since that time the site has grown. I've added more pages, custom modules, and a lot more content. I now try to export the portal to include content and I get this error:

Error: is currently unavailable.
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.Tabs.TabController.SerializeTab(XmlDocument xmlTab, Hashtable hTabs, TabInfo objTab, PortalInfo objPortal, Boolean includeContent) at DotNetNuke.Modules.Admin.Portals.Template.SerializeTabs(XmlWriter writer, PortalInfo objportal) at DotNetNuke.Modules.Admin.Portals.Template.cmdExport_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

I tried to look to find what was going on and in the exported .template file I noticed that it just randomly stops in the exporting process. It's never really consistent where it stops in the xml file. Has any one else run into this issue? I need to resolve this issue before we move the development environment to production and go live with the site.

Please Help!

 
New Post
9/18/2009 4:56 PM
 

I think that the problem you encounter is because you are trying to export a portal where the installed or in-use modules don't fully support import/export., especially when you mention installing custom modules. Unless you specify the need for things like iPortable or iSearchable with a developer, they won't even bother because you weren't iExplicit.

Even so, I don't think I've ever seen anyone take a site from development to production using the method you discuss? I would be interested to know why you take this approach. Why not simply do a traditional xcopy of the site files and migration of the database?


Eric Swanzey
www.swanzey.com
 
New Post
10/6/2009 3:03 PM
 

I'm right there with you Kevin... Dnn 5.1.1 on a site that needs to have the ability to do Portal Export. In this case, we're doing a portal export to setup another site on the same dnn instance that is almost identical in structure and content to the original, and then we'll reskin, and change pages wehre needed.

the error:

Error: is currently unavailable.
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.Tabs.TabController.SerializeTab(XmlDocument xmlTab, Hashtable hTabs, TabInfo objTab, PortalInfo objPortal, Boolean includeContent) at DotNetNuke.Modules.Admin.Portals.Template.SerializeTabs(XmlWriter writer, PortalInfo objportal) at DotNetNuke.Modules.Admin.Portals.Template.cmdExport_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

The error is displayed when i export this one portal that has the most content to it... another portal in teh same DNN instance exports fine and has many ofthe same modules in it. the difference is that it has far fewer pages/less content.

Like Kevin said, i look at the template file that was being created and it never finishes... randomly it stops in the same region of 20-50 lines of code, howeer it's a different spot each time... it's not at the start of a module or end of one, it's middle of words kind of stop. EVERY file, though stops at 53.9 KB in size, i'm wondering if there's an error in file limit or cache in processing time/kb ? Has anyone looked into that?

Haven't seen this error in other sites and am now testing to look at specific modules to see if any are involved

 

 
New Post
10/6/2009 4:24 PM
 

further testing, we've added in an instance of every module that is in the troubled portal into a new portal on teh same DNN instance, and that portal STILL exports just fine. We are now going in and adding content to these modules to test, but at the moment, it seems that it is not related to the placement of any specific module on a page within the site.

I'm looking back to the data too, the export points that fail / stop seem completely random... does anyone have more details or can we turn on more reports/events to get more informaiton out of DotNetNuke.Modules.Admin.Portals.Template.SerializeTabs or DotNetNuke.Entities.Tabs.TabController.SerializeTab ?

 
New Post
10/6/2009 5:09 PM
 

 did you clear the recycle bin prior to the export?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...HELP! - Error when Exporting Portal TemplateHELP! - Error when Exporting Portal Template


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