Bootstrap 3 Tutorial Menu Error
Last Post 07/05/2014 11:31 AM by Joseph Craig. 3 Replies.
Author Messages
Richard
Nuke Newbie
Nuke Newbie
Posts:4


--
07/03/2014 11:04 PM
    Hello!

    I'm new to your site and so far I am learning quite a bit! I completed the Bootstrap/DNN7 tutorial before I realized there was an updated Bootstrap 3 tutorial. (It does not show up in the "Skinning" section.) I went through the previous tutorial with no issues. However when I tried the Bootstrap 3 tutorial I ran into an issue.

    While adding the menu I receive this error after replacing the static menu with the DNN menu:

    An error has occurred. DotNetNuke.Services.Exceptions.ModuleLoadException: Couldn't load menu style 'BootstrapMenu': System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) at System.Web.HttpServerUtility.MapPath(String path) at DotNetNuke.Web.DDRMenu.TemplateEngine.TemplateDefinition.FromManifest(String manifestUrl) at DotNetNuke.Web.DDRMenu.MenuBase.Instantiate(String menuStyle) ---> System.ApplicationException: Couldn't load menu style 'BootstrapMenu': System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping) at System.Web.HttpServerUtility.MapPath(String path) at DotNetNuke.Web.DDRMenu.TemplateEngine.TemplateDefinition.FromManifest(String manifestUrl) at DotNetNuke.Web.DDRMenu.MenuBase.Instantiate(String menuStyle) at DotNetNuke.Web.DDRMenu.MenuBase.Instantiate(String menuStyle) at DotNetNuke.Web.DDRMenu.SkinObject.OnPreRender(EventArgs e) --- End of inner exception stack trace ---


    I started over to make sure I did not make a mistake and I receive the same error. Can you help me figure out what I did wrong?

    Thanks so much!!

    Rick
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    07/04/2014 11:51 AM
    Are you trying to incorporate the Bootstrap menu in your skin, or just reproduce the skin from the tutorial.

    The problem seems to be with the "BootstrapMenu" component. Make sure that the directory is situated correctly in the skin folder. Make sure that all of the pieces are there.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Richard
    Nuke Newbie
    Nuke Newbie
    Posts:4


    --
    07/04/2014 1:52 PM
    Well, I'm an idiot. I fixed it. I did not put the menu files in the correct folder. Sorry to bother you!!

    Rick
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    07/05/2014 11:31 AM
    No problem. I'm glad you were able to find the problem and fix it.

    Joe Craig, Patapsco Research Group
    Complete DNN Support


    ---