Recently I came across this issue with Visual Studio 2015, while developing a website. I used ScriptManager to load javaScript to my web application. When I inspected the code of the site I noticed a message saying I was trying to load a script with https. A further investigation revealed that the culprit was the script at, which, of course, was not written or referenced anywhere in the code.

Alas, I discovered the issue: the property “EnableCdn” on the ScriptManager was set to “true”.  To fix the issue (remove the unnecessary reference) just change it to “false”. If this file is required by your project, I recommend adding it like a regular JS and not from this CDN. Firstly, it’s from an unsecured location, secondly, using a CDN is not for publishing, as it might not be available, or change without notice (yes, even if it’s from Microsoft!)

Change to:

<script src=”” type=”text/javascript”></script>

Leave a comment