We recently migrated our website over from a 2012 server to a 2022 server. Upon migration we're now receiving the following error:
We then found this link: Telerik Forums Post
Following the instructions, we now have the following in our web.config file in <appSettings>:
We added multiple value's for the multiple different files that were being placed in the error messages.
We also ensured that our Master files for our different types of pages have been updated to match:
The errors are still being thrown. The pages work fine, but we don't want to be continuously being given these errors over and over again in Stackify.
Telerik.Web.UI.InsecureExternalStyleSheetException: The style sheet '~/Scripts/app.js' is not located in any of the 'Style Sheet' folders designated in the web.config. Telerik.Web.UI.InsecureExternalStyleSheetException: Telerik.Web.UI.InsecureExternalStyleSheetException: The style sheet '~/Scripts/app.js' is not located in any of the 'Style Sheet' folders designated in the web.config. at Telerik.Web.UI.ExternalScriptHelper.ResolveSecurePath(String scriptRelativePath)
We then found this link: Telerik Forums Post
Following the instructions, we now have the following in our web.config file in <appSettings>:
<add key="Telerik.Web.UI.StyleSheetFolders" value="~/Scripts/; ~/styles/; ~/ReportViewer/js/; ~/kendo/js/;" />
We also ensured that our Master files for our different types of pages have been updated to match:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
<Scripts>
<telerik:RadScriptReference Path="~/Scripts/app.js" />
</Scripts>
</telerik:RadScriptManager>
<telerik:RadStyleSheetManager runat="server" ID="RadStyleSheetManager1">
<StyleSheets>
<telerik:StyleSheetReference Path="~/Scripts/app.js" />
</StyleSheets>
</telerik:RadStyleSheetManager>