Saturday, 19 July 2014

Cannot make a cache safe URL for "1033/sp.debug.js", file not found

Copy the sp.debug.js file and put it inside C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033.

Check below one..
Localizable = false  attribute to SharePoint:ScriptLink like below:
 
<SharePoint:ScriptLink language="javascript" name="/foldername/JS/newjsfile.js" Localizable = false runat="server"/>
 
And
 
Give the file path  and provided file should be deployed inside StyleLibrary...
 
<script src="/Style%20Library/foldername/scripts/slides.min.jquery.js"type="text/javascript"> </script>