1
Vote

Module is not working after Update to DNN 7.1.0

description

I have previously used User Directory 1.1.x. Then I updated from DNN 7.0.5 to 7.1.0 and I got the following error message on the Member List: DotNetNuke.Services.Exceptions.ModuleLoadException: D:\Inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\DesktopModules\effority.UserDirectory\View.ascx.vb(693): error BC30561: 'Entities' is ambiguous, imported from the namespaces or types 'DotNetNuke.Services.Search, DotNetNuke'. ---> System.Web.HttpCompileException: D:\Inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\DesktopModules\effority.UserDirectory\View.ascx.vb(693): error BC30561: 'Entities' is ambiguous, imported from the namespaces or types 'DotNetNuke.Services.Search, DotNetNuke'. bei System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) bei System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) bei System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) bei System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) bei DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) bei DotNetNuke.UI.Modules.WebFormsModuleControlFactory.CreateModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) bei DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) bei DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- Ende der internen Ausnahmestapelüberwachung ---

So I checked the User Directory Module and saw that a new version exists. Therefore I updated to 1.2.0, which did not help. I got the same error message again.
I learned that DNN 7.1. has a new search and that this gives probably Problems with the Namespace that is used by Effority.
Any help, where to change this in the source code would be welcome.

Regards
René from Switzerland

file attachments

comments

SCullmann wrote Sep 5, 2013 at 12:11 PM

Hi René, I've attached a new "View.ascx.vb" file, this should fix your issue.

rblanc wrote Sep 14, 2013 at 8:25 PM

Hi SCullmann,
Thank you for your help. However, I replaced the View.ascx.vb file in effority.UserDirectory with your attached file, but it still gives me an error message and I cannot see my member list.
Error message is the following (some expressions are in German, but I think the message should be clear.

Fehler: Mitglieder Verzeichnis ist zur Zeit nicht verfügbar. DotNetNuke.Services.Exceptions.ModuleLoadException: C:\Users\Rene\Documents\My Web Sites\EmptySite1\DesktopModules\effority.UserDirectory\View.ascx.vb(76): error BC30456: "StartPopulated" ist kein Member von "effority.UserDirectory.View". ---> System.Web.HttpCompileException: C:\Users\Rene\Documents\My Web Sites\EmptySite1\DesktopModules\effority.UserDirectory\View.ascx.vb(76): error BC30456: "StartPopulated" ist kein Member von "effority.UserDirectory.View". bei System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) bei System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) bei System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) bei System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) bei System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) bei DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) bei DotNetNuke.UI.Modules.WebFormsModuleControlFactory.CreateModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) bei DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) bei DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- Ende der internen Ausnahmestapelüberwachung ---

salem wrote Mar 17, 2014 at 5:22 AM

I am getting the same error on 7.2.1 version