0

I have a web application using ASP.NET 4. It displayed error below : Mixed Content: The page at 'https://... was loaded over HTTPS, but requested an insecure script 'http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js'. This request has been blocked; the content must be served over HTTPS.

It probably due to below :

But I didn't used above in the project. And I have enable CDN=true at the Script Manager as below.

How should i troubleshoot it or solve it ? Any clues ?

Thanks.

sideshowbarker
  • 81,827
  • 26
  • 193
  • 197

1 Answers1

0

You are trying to load an insecure script (from http) over a secure context (https).

Try to load the script from https like this:

https://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js
piscator
  • 8,028
  • 5
  • 23
  • 32