DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Site crashes after incorrect module placement

 9 Replies
 5 Subscribed to this topic
 24 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 7
New Around Here

Hello,

I am currently in the process of importing a fully functional website created with Mojoportale into DotNetNuke (DNN). I have already started importing all the data, integrations, and configurations (users, modules, project tables, etc.) into the new DNN database because the database already contains these details.

However, I am facing a major issue during the module creation and import phase. Occasionally, I mistakenly create a module outside the DesktopModules folder. This causes the website to crash and display only a generic error page. Even after deleting the module folder, the site continues to crash. The only solution I have found so far is to create a new website with a fresh database, which is not acceptable since adapting the database takes over a week. I cannot afford to start from scratch because the database already contains critical project and DNN data.

Even after I:
- Deleted the module folder
- Removed the related data from the database
- Deleted the DLL from the bin folder

The site still won’t load.


I’m looking for a solution that would allow me to:
Properly remove or repair a module that was created outside the DesktopModules folder.


Any help would be greatly appreciated!

Thank you 😅

Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

Did you also change/check the paths in the database for the extension / Module?
If that does not help can you post the log4net error?
Portals/_default/logs/[date].log.resources

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
This sounds like more is happening than what you're aware of. I'd suggest using tools to compare the site (files & database) before and after your import process(es) to see what else you need to clean up. Anything we'd suggest will mostly be a guess right now. ☹️
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Oh, and if you make a change in the database for any core DNN table, you should assume that you'll need to clear the cache to see those updates reflected in the site - especially regarding module configuration values.
New Around Here
Posts: 7
New Around Here


That is the log, but I guess it shows some errors not related to the main problem.
 

2025-03-21 16:17:30.860+01:00 [SM139][D:2][T:1][ERROR] DotNetNuke.Web.DependencyInjectionInitialize - Unable to configure services for DotNetNuke, Version=9.11.0.0, Culture=neutral, PublicKeyToken=null, see exception for details

- LoaderException: Method 'GetCommand' in type 'DotNetNuke.Prompt.CommandRepository' from assembly 'DotNetNuke, Version=9.11.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)

at System.Reflection.RuntimeModule.GetTypes()

at System.Reflection.Assembly.GetTypes()

at DotNetNuke.DependencyInjection.Extensions.TypeExtensions.SafeGetTypes(Assembly assembly, ILog logger)

2025-03-21 16:17:30.996+01:00 [SM139][D:2][T:1][ERROR] DotNetNuke.Web.Extensions.StartupExtensions - Unable to configure services for DotNetNuke, Version=9.11.0.0, Culture=neutral, PublicKeyToken=null, see exception for details

- LoaderException: Method 'GetCommand' in type 'DotNetNuke.Prompt.CommandRepository' from assembly 'DotNetNuke, Version=9.11.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)

at System.Reflection.RuntimeModule.GetTypes()

at System.Reflection.Assembly.GetTypes()

at DotNetNuke.DependencyInjection.Extensions.TypeExtensions.SafeGetTypes(Assembly assembly, ILog logger)

2025-03-21 16:17:31.099+01:00 [SM139][D:2][T:1][ERROR] DotNetNuke.Web.Extensions.StartupExtensions - Unable to configure services for Microsoft.Practices.Unity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, see exception for details

- LoaderException: Could not load file or assembly 'Microsoft.Practices.ServiceLocation, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Le fichier sp cifi est introuvable.

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)

at System.Reflection.RuntimeModule.GetTypes()

at System.Reflection.Assembly.GetTypes()

at DotNetNuke.DependencyInjection.Extensions.TypeExtensions.SafeGetTypes(Assembly assembly, ILog logger)

2025-03-21 16:17:31.407+01:00 [SM139][D:2][T:1][ERROR] DotNetNuke.Web.Mvc.Extensions.StartupExtensions - Unable to configure services for DotNetNuke, Version=9.11.0.0, Culture=neutral, PublicKeyToken=null, see exception for details

- LoaderException: Method 'GetCommand' in type 'DotNetNuke.Prompt.CommandRepository' from assembly 'DotNetNuke, Version=9.11.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)

at System.Reflection.RuntimeModule.GetTypes()

at System.Reflection.Assembly.GetTypes()

at DotNetNuke.DependencyInjection.Extensions.TypeExtensions.SafeGetTypes(Assembly assembly, ILog logger)

2025-03-21 16:17:31.409+01:00 [SM139][D:2][T:1][ERROR] DotNetNuke.Web.Mvc.Extensions.StartupExtensions - Unable to configure services for Microsoft.Practices.Unity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, see exception for details

- LoaderException: Could not load file or assembly 'Microsoft.Practices.ServiceLocation, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Le fichier sp cifi est introuvable.

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)

at System.Reflection.RuntimeModule.GetTypes()

at System.Reflection.Assembly.GetTypes()

at DotNetNuke.DependencyInjection.Extensions.TypeExtensions.SafeGetTypes(Assembly assembly, ILog logger)

2025-03-21 16:17:31.469+01:00 [SM139][D:2][T:1][ERROR] DotNetNuke.Web.DependencyInjectionInitialize - Unable to configure services for Microsoft.Practices.Unity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, see exception for details

- LoaderException: Could not load file or assembly 'Microsoft.Practices.ServiceLocation, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Le fichier sp cifi est introuvable.

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)

at System.Reflection.RuntimeModule.GetTypes()

at System.Reflection.Assembly.GetTypes()

at DotNetNuke.DependencyInjection.Extensions.TypeExtensions.SafeGetTypes(Assembly assembly, ILog logger)

2025-03-21 16:17:32.006+01:00 [SM139][D:2][T:9][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.Web.HttpParseException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas. ---> System.Web.HttpParseException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas. ---> System.Web.HttpException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas.

System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)

System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)

System.Web.UI.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile)

System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath)

System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry)

System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)

System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

--- Fin de la trace de la pile d'exception interne ---

System.Web.UI.TemplateParser.ProcessException(Exception ex)

System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

--- Fin de la trace de la pile d'exception interne ---

System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)

System.Web.UI.TemplateParser.ParseInternal()

System.Web.UI.TemplateParser.Parse()

System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()

System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)

System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()

System.Web.Compilation.BuildProvidersCompiler.PerformBuild()

System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)

System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)

DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc)

DotNetNuke.UI.Skins.Skin.LoadSkin(PageBase page, String skinPath)

--- Fin de la trace de la pile d'exception interne ---

2025-03-21 16:17:32.018+01:00 [SM139][D:2][T:9][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.Web.HttpParseException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas. ---> System.Web.HttpParseException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas. ---> System.Web.HttpException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas.

System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)

System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)

System.Web.UI.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile)

System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath)

System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry)

System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)

System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

--- Fin de la trace de la pile d'exception interne ---

System.Web.UI.TemplateParser.ProcessException(Exception ex)

System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

--- Fin de la trace de la pile d'exception interne ---

System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)

System.Web.UI.TemplateParser.ParseInternal()

System.Web.UI.TemplateParser.Parse()

System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()

System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)

System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()

System.Web.Compilation.BuildProvidersCompiler.PerformBuild()

System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)

System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)

DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc)

DotNetNuke.UI.Skins.Skin.LoadSkin(PageBase page, String skinPath)

--- Fin de la trace de la pile d'exception interne ---

2025-03-21 16:17:32.018+01:00 [SM139][D:2][T:9][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.

System.NullReferenceException: La r f rence d'objet n'est pas d finie une instance d'un objet.

DotNetNuke.UI.Skins.Skin.GetSkin(PageBase page)

DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)

System.Web.UI.Control.d__225.MoveNext()

--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()

System.Web.UI.Page.d__523.MoveNext()

2025-03-21 16:17:32.018+01:00 [SM139][D:2][T:9][ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=21&error=An unexpected error has occurred&content=0

System.NullReferenceException: La r f rence d'objet n'est pas d finie une instance d'un objet.

DotNetNuke.UI.Skins.Skin.GetSkin(PageBase page)

DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)

System.Web.UI.Control.d__225.MoveNext()

--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()

System.Web.UI.Page.d__523.MoveNext()

2025-03-21 16:17:32.034+01:00 [SM139][D:2][T:11][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.Web.HttpParseException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas. ---> System.Web.HttpParseException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas. ---> System.Web.HttpException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas.

System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)

System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)

System.Web.UI.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile)

System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath)

System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry)

System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)

System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

--- Fin de la trace de la pile d'exception interne ---

System.Web.UI.TemplateParser.ProcessException(Exception ex)

System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

--- Fin de la trace de la pile d'exception interne ---

System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)

System.Web.UI.TemplateParser.ParseInternal()

System.Web.UI.TemplateParser.Parse()

System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()

System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)

System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()

System.Web.Compilation.BuildProvidersCompiler.PerformBuild()

System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)

System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)

DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc)

DotNetNuke.UI.Skins.Skin.LoadSkin(PageBase page, String skinPath)

--- Fin de la trace de la pile d'exception interne ---

2025-03-21 16:17:32.037+01:00 [SM139][D:2][T:11][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.Web.HttpParseException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas. ---> System.Web.HttpParseException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas. ---> System.Web.HttpException: Le fichier '/DesktopModules/DDRMenu/Menu.ascx' n'existe pas.

System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)

System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)

System.Web.UI.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile)

System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath)

System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry)

System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)

System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

--- Fin de la trace de la pile d'exception interne ---

System.Web.UI.TemplateParser.ProcessException(Exception ex)

System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

--- Fin de la trace de la pile d'exception interne ---

System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)

System.Web.UI.TemplateParser.ParseInternal()

System.Web.UI.TemplateParser.Parse()

System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()

System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)

System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()

System.Web.Compilation.BuildProvidersCompiler.PerformBuild()

System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)

System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)

DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc)

DotNetNuke.UI.Skins.Skin.LoadSkin(PageBase page, String skinPath)

--- Fin de la trace de la pile d'exception interne ---

2025-03-21 16:17:32.038+01:00 [SM139][D:2][T:11][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.

System.NullReferenceException: La r f rence d'objet n'est pas d finie une instance d'un objet.

DotNetNuke.UI.Skins.Skin.GetSkin(PageBase page)

DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)

System.Web.UI.Control.d__225.MoveNext()

--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()

System.Web.UI.Page.d__523.MoveNext()

2025-03-21 16:17:32.039+01:00 [SM139][D:2][T:11][ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=21&error=terminate

System.NullReferenceException: La r f rence d'objet n'est pas d finie une instance d'un objet.

DotNetNuke.UI.Skins.Skin.GetSkin(PageBase page)

DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)

System.Web.UI.Control.d__225.MoveNext()

--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()

System.Web.UI.Page.d__523.MoveNext()

2025-03-21 16:17:32.045+01:00 [SM139][D:2][T:11][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: La r f rence d'objet n'est pas d finie une instance d'un objet. ---> System.NullReferenceException: La r f rence d'objet n'est pas d finie une instance d'un objet.

DotNetNuke.UI.Skins.Skin.GetSkin(PageBase page)

DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)

System.Web.UI.Control.d__225.MoveNext()

--- Fin de la trace de la pile partir de l'emplacement pr c dent au niveau duquel l'exception a t lev e ---

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()

System.Web.UI.Page.d__523.MoveNext()

--- Fin de la trace de la pile d'exception interne ---

 

New Around Here
Posts: 7
New Around Here

Is there a tool that you suggest that can do that ?

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Hello... The error messages are very helpful, but that's just one piece of information.  You'll need to include all of the details for any of us to truly help you.  All of the steps being taken, and the data/files that are moving.  

The tools I rely on are: (1) for comparing the file system using WinMerge; and (2) SQL Compare and SQL Data Compare by RedGate for the database.  The latter two tools are expensive.  If there's a useful one that's open-source/free, I'm not aware of it.  

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!

So, the site tells you it is not finding what you telling to get :-) 

In the web (dot) config there are assemblies mentioned that are nog available in the bin folder. Some times the dll is not there but most of the time, the version number of the DLL is not as mentioned in de web (dot) config. For instance, because another module installed a newer version. 

Advanced Member
Posts: 207
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
The error says this file doe snot exist: /DesktopModules/DDRMenu/Menu.ascx
Is that true? That is installed as part of DNN, so usually it will always be there. In a standard DNN install it is installed during installation.

This makes me think there is a more serious issue, it's difficult for me to say without seeing the installation, but my thought would be:
Firstly check if that file exists. if not do then next steps.

1 - backup the installation.
2 - upzip the DNN upgrade package and do the upgrade.

see if that works. if not:
2- Take the DDRMenu_***_Install.zip and install it manually. (This can be found in the DNN install package) Then check if that /DesktopModules/DDRMenu/Menu.ascx file exists.

If this does not solve it, does it at least solve the error message related to : /DesktopModules/DDRMenu/Menu.ascx

Growing Member
Posts: 31
Growing Member
New Poster
New Poster
Congrats on posting!

I have few remarks:

- Logs indicate that some methods cannot be found in 'DotNetNuke, Version=9.11.0'. Does it correspond to the current version you installed? You could check if some DNN dlls need to be restored (from the original install zip for example), especialy DotNetNuke.dll. As Will suggested, you could use WinMerge to compare the bin folder with a fresh install of the same DNN Version.
- As David said, check if /DesktopModules/DDRMenu/Menu.ascx file exists in your website folder. If yes, I suggest you to also check in your IIS Manager if some virtual web folder are configured for the corresponding website. If yes, you probably have to remove them to repair your installation.
- I don't know the Microsoft.Practices.ServiceLocation dll. Maybe you can chek if this dll is registered in the web dot config assemblies section and try to comment it to see if it solve some problems.

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved