I've added a new menu to our skin that loads a different menu style and shows only a special submenu.
<dnn:MENU ID="MenuProfile" MenuStyle="MenuProfile" IncludeHidden="true" runat="server" ></dnn:MENU>
This loads from the directory
DNN-INSTALL/Portals/_default/Skin/mySkin/MenuProfile/
The menu loads just fine in my development environment. Now I've packaged the skin and deployed it with installing it in Host/Extensions and the files are deployed on the server. I've checked that every file is in the right path on the server. But it runs into the following exception:
Server Error in '/' Application. Couldn't load menu style 'MenuProfile': System.ArgumentException: Illegal character in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) ...
What am I missing here?