Products

Solutions

Learn More

Partners

Community

Blog

About

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...Administration ...Administration ...Exporting a page gets stuck on "In Progress"Exporting a page gets stuck on "In Progress"
Previous
 
Next
New Post
7/10/2018 9:31 PM
 
I am trying to export a page in DNN 9.1.1 using the "Import / Export" wizard. I can submit the export request, and the progress reaches 100%, but the export never finishes. The Admin Log shows the following error:

Log Type: "Scheduler Exception"
Message: "Object reference not set to an instance of an object"
StackTrace: "at Dnn.ExportImport.Components.Services.PagesExportService.<>c__DisplayClass61_0.b__0(PackageInfo p) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at DotNetNuke.Services.Installer.Packages.PackageController.GetExtensionPackage(Int32 portalId, Func`2 predicate) at Dnn.ExportImport.Components.Services.PagesExportService.ExportModulePackage(ExportModule exportModule) at Dnn.ExportImport.Components.Services.PagesExportService.ExportTabModulesAndRelatedItems(ExportTab exportPage, DateTime toDate, Nullable`1 fromDate) at Dnn.ExportImport.Components.Services.PagesExportService.ProcessExportPages() at Dnn.ExportImport.Components.Services.PagesExportService.ExportData(ExportImportJob exportJob, ExportDto exportDto) at Dnn.ExportImport.Components.Engines.ExportImportEngine.Export(ExportImportJob exportJob, ExportImportResult result, ScheduleHistoryItem scheduleHistoryItem) at Dnn.ExportImport.Components.Scheduler.ExportImportScheduler.DoWork()"

Has anyone encountered anything similar, and if so, what have you done to fix it?
 
New Post
7/12/2018 2:42 PM
 
I was able to work around this by adding a check in DnnExportImport's PagesExportService.cs's ExportModulePackage after the following line:

var desktopModule = DesktopModuleController.GetDesktopModule(desktopModuleId, Null.NullInteger);

to see if the desktop module is null, and if so, not do any additional things with it. This seems to work, as the backup completed successfully. However, I do not understand why this line was retrieving a null module in the first place. If anyone needs the modified source code, feel free to PM me.
 
New Post
7/13/2018 6:53 AM
 
James,

thank you for pointing this out. But the way to fix it really should be making a pull request on GitHub, and not to distribute solutions via private messages - so feel free to do that.

Happy DNNing!
Michael

Michael Tobisch
DNN��MVP
dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
7/14/2018 6:59 PM
 
I agree with Michael, it would be helpful to log the issue in our GitHub repository and awesome, if you could also submit your fix as a pull request!

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/19/2018 4:55 PM
 
Okay, I submitted a new issue on GitHub. Here is the link: https://github.com/dnnsoftware/Dnn.Platform/issues/2174
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Exporting a page gets stuck on "In Progress"Exporting a page gets stuck on "In Progress"


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out