I am trying to user EnableCdn property in ScriptManager. Basically I have this piece of code in my master page file:
<asp:ScriptManager ID="MainScriptManager" runat="server" EnablePartialRendering="true"
EnableScriptGlobalization="true" EnableScriptLocalization="true" AsyncPostBackTimeout="3600" EnableCdn="True">
This works on the dev environment where we connect via HTTP - it references to such script:
<script src="http://ajax.aspnetcdn.com/ajax/4.5/5/WebForms.js" type="text/javascript"></script>
But on the production server, where we use SSL it tries to include such script:
<script src="https://ajax.microsoft.com/ajax/4.0/2/WebForms.js" type="text/javascript"></script>
There are two differencies (version and the domain), but most of all this file from version 4.0 is not on the CDN server (via https!).
Could anyone suggest some sort of resolution for this problem? Does that mean that version 4.0 is not supported via https, but it is via http (I can download file from version 4.5 by both methods, but 4.0 is only available via HTTP).
EDIT:
I have found information that "ajax.microsoft.com renamed to ajax.aspnetcdn.com" - this seems to be a problem with my version but I cannot find information (yet) how to change the domain into correct one. Should we reinstall framework on the production?
I too have the same problem running 4.0 and i can't find anything which indicates how one should go about fixing this given the references to ajax.microsoft.com are placed by the framework itself.