When attached to my w3wp.exe process for my DNN 7 website, I receive a flood of InsecureExternalStyleSheetException's
Exception Data:
Telerik.Web.UI.InsecureExternalStyleSheetException occurred
Message=The style sheet '/js/dnn.js' is not located in any of the 'Style Sheet' folders designated in the web.config.
Source=Telerik.Web.UI
StackTrace:
at Telerik.Web.UI.ExternalScriptHelper.ResolveSecurePath(String scriptRelativePath)
Looking this up, it's saying that I need any folder that has a css file to be in a list of folders described by the appSettings key of Telerik.Web.UI.StyleSheetFolders.
Here are the two related settings:
<add key="Telerik.Web.UI.ScriptFolders" value="~/Scripts/;" /><!--~/js/;-->
<add key="Telerik.Web.UI.StyleSheetFolders" value="~/admin/ControlPanel/;~/DesktopModules/Admin/Authentication/;~/DesktopModules/Brick/User Dashboard/;~/DesktopModules/DNNCentric-AJAXFAQ/;~/DesktopModules/DNNCentric-AJAXFAQ/themes/skindefault/;~/DesktopModules/EasyDNNRotator/Controls/ChameleonRotator/static/common/;~/DesktopModules/EasyDNNRotator/Controls/ChameleonRotator/static/themes/callisto/;~/DesktopModules/EasyDNNRotator/flowplayer/skin/;~/DesktopModules/TabsPro/templates/blitzer-simple/;~/Portals/_default/;~/Portals/_default/Containers/Brick/;~/Portals/_default/Containers/Gravity/;~/Portals/_default/Containers/TabsPro/;~/Portals/_default/Skins/_default/WebControlSkin/Default/;~/Portals/_default/Skins/Brick/;~/Portals/_default/Skins/Brick/bootstrap/css/;~/Portals/_default/Skins/Brick/css/;~/Portals/_default/Skins/Brick/js/colorpicker/css/;~/Portals/0/;~/StaticContent/kendo/styles/;~/js/;" />
I made sure that any folder on any page that loads a css file is included in that list (the second one).
When I try to add /js to ScriptFolders, it causes 404's on 2 of the 3 WebResource.axd calls for any page that is generated by DNN. One of those seems to be rather important as it causes Sys to be undefined and kills most of the other javascript on the page.
Exception Data:
Telerik.Web.UI.InsecureExternalStyleSheetException occurred
Message=The style sheet '/js/dnn.js' is not located in any of the 'Style Sheet' folders designated in the web.config.
Source=Telerik.Web.UI
StackTrace:
at Telerik.Web.UI.ExternalScriptHelper.ResolveSecurePath(String scriptRelativePath)
Looking this up, it's saying that I need any folder that has a css file to be in a list of folders described by the appSettings key of Telerik.Web.UI.StyleSheetFolders.
Here are the two related settings:
<add key="Telerik.Web.UI.ScriptFolders" value="~/Scripts/;" /><!--~/js/;-->
<add key="Telerik.Web.UI.StyleSheetFolders" value="~/admin/ControlPanel/;~/DesktopModules/Admin/Authentication/;~/DesktopModules/Brick/User Dashboard/;~/DesktopModules/DNNCentric-AJAXFAQ/;~/DesktopModules/DNNCentric-AJAXFAQ/themes/skindefault/;~/DesktopModules/EasyDNNRotator/Controls/ChameleonRotator/static/common/;~/DesktopModules/EasyDNNRotator/Controls/ChameleonRotator/static/themes/callisto/;~/DesktopModules/EasyDNNRotator/flowplayer/skin/;~/DesktopModules/TabsPro/templates/blitzer-simple/;~/Portals/_default/;~/Portals/_default/Containers/Brick/;~/Portals/_default/Containers/Gravity/;~/Portals/_default/Containers/TabsPro/;~/Portals/_default/Skins/_default/WebControlSkin/Default/;~/Portals/_default/Skins/Brick/;~/Portals/_default/Skins/Brick/bootstrap/css/;~/Portals/_default/Skins/Brick/css/;~/Portals/_default/Skins/Brick/js/colorpicker/css/;~/Portals/0/;~/StaticContent/kendo/styles/;~/js/;" />
I made sure that any folder on any page that loads a css file is included in that list (the second one).
When I try to add /js to ScriptFolders, it causes 404's on 2 of the 3 WebResource.axd calls for any page that is generated by DNN. One of those seems to be rather important as it causes Sys to be undefined and kills most of the other javascript on the page.