Links Module error
Last Post 10/25/2011 2:53 PM by Neil Wood. 5 Replies.
Author Messages
Neil Wood
Nuke Newbie
Nuke Newbie
Posts:7


--
10/24/2011 9:29 AM  
I can create a menu with the link module, but when I try to add a link I get this:
Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: ######\DesktopModules\Links\EditLinks.ascx.vb(374): error BC30002: Type 'Net.WebException' is not defined. ---> System.Web.HttpCompileException: ######\DesktopModules\Links\EditLinks.ascx.vb(374): error BC30002: Type 'Net.WebException' is not defined. at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---

any help is appreciated

Neil
Joseph Craig
DNN MVP
Posts:11667


--
10/24/2011 2:50 PM  
Which version of DotNetNuke are you using? Which version of the Links module?

Joe Craig, Patapsco Research Group
Complete DNN Support
Neil Wood
Nuke Newbie
Nuke Newbie
Posts:7


--
10/24/2011 2:55 PM  
DNN: 5.6.3
Links: 6
Joseph Craig
DNN MVP
Posts:11667


--
10/24/2011 8:48 PM  
Hmmm ...

Try editing DesktopModules\Links\EditLinks.ascx.vb:

1. Add: Imports System.Net as the first Imports line in the file.
2. Change Net.WebException to System.Net.WebException in the file.

See if that fixes the problem.

(I saw that this issue was raised on a DotNetNuke.com forum, but no solution was posted.)

Joe Craig, Patapsco Research Group
Complete DNN Support
Joseph Craig
DNN MVP
Posts:11667


--
10/24/2011 8:53 PM  
Looking further, #2 is the solution. Another solution is to upgrade to Version 6.0.2 of the Links module.

Joe Craig, Patapsco Research Group
Complete DNN Support
Neil Wood
Nuke Newbie
Nuke Newbie
Posts:7


--
10/25/2011 2:53 PM  
I updated the EditLinks.ascx.vb file and it works a charm.
Cheers


---