question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module Creator crashes

See original GitHub issue

Description of bug

Module Creator crashes when added to a page.

Steps to reproduce

  1. Install DNN 9.4.3
  2. Create a page
  3. Add a Module Creator to the page

Current behavior

Module crashes showing an error in the page.

Expected behavior

Module should be created and added to the page without issues.

Screenshots

image

Error information

DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/DesktopModules/Admin/ModuleCreator/CreateModule.ascx' does not exist. ---> System.Web.HttpException: The file '/DesktopModules/Admin/ModuleCreator/CreateModule.ascx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
   at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc)
   at DotNetNuke.ModulePipeline.ModuleControlPipeline.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration)
   at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl()
   --- End of inner exception stack trace ---

Affected version

  • 10.0.0 alpha build
  • 9.4.3

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
bdukescommented, Jan 23, 2020

Confirmed, installation via /install/install.aspx?mode=install is missing /DesktopModules/Admin/Console and /DesktopModules/Admin/ModuleCreator (and bin is missing Dnn.Modules.Console.dll and Dnn.Modules.ModuleCreator.dll). InstallerLog20200123 (via install.aspx, missing modules).txt InstallerLog20200123 (via installwizard.aspx, modules working).txt

0reactions
daguilercommented, Jan 24, 2020

I don’t see any good reason. AFAICT, deep down, they end up invoking the same code, but the sequence is different (notably, the extensions are installed earlier by the wizard). The wizard seems better implemented IMO. I think we should get rid of the current implementation behind Install.aspx and invoke the wizard steps instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module Manager 2.7.6 crashing my ksp (1.2.2) Please help ...
Hello, im using RSS on KSP 1.2.2, i completed all instalation steps properly. I just installed MM and it starts crashing while loading....
Read more >
Module Generator release : r/FoundryVTT
Foundry VTT Module Generator has recently been released making it much ... and also back them up if when my "server" should crash...
Read more >
ByteBeatMachine: Crash in Rack v1+ - Plugins & Modules
After that VCV started crashing when I right click to load modules. I downloaded the new ones ... Just a note to the...
Read more >
Bug #1962862 “usb creator crashes on startup”
On Kubuntu 22.04 usb-creator-kde and usb-creator-gtk both crash on startup showing the following message: An unhandled exception occurred: ...
Read more >
Layout Builder: crash if Display Suite module is installed
If display suite is installed in the site, trying to set layout builder in a content type fails. Steps to reproduce: 1.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found