Select to view content in your preferred language

Display Mixed Content

7134
14
04-15-2011 08:01 PM
DavidLozzi
Emerging Contributor
Hello,

I'm getting an error 'Display Mixed Content' when viewing my ArcGIS Map web part over an SSL connection. All basemaps are set to https, am I missing something?
0 Kudos
14 Replies
BradyDoll
New Contributor
I have just run across this issue myself and wanted to share some more insight.  It appears that the link https://go.microsoft.com/fwlink/?LinkId=161376 redirects to http://download.microsoft.com/download/5/1/6/5165823D-1D79-4871-8AC2-42DDDB94A5C2/PNGs/SLMedallion_E..., which is why you still see the error after changing every link to https.

It seems that you could host the image yourself (if Microsoft allows it) to prevent the warning.

I also wanted to point out that instead of hard coding http:// or https://, it is possible to just use // and it will automatically select http or https depending on the original URL (see: http://blog.httpwatch.com/2010/02/10/using-protocol-relative-urls-to-switch-between-http-and-https/).
0 Kudos
RickThiel
Regular Contributor
Thank you.  I did not know that you could do that.
0 Kudos
EricKant
Deactivated User
Where can this link be adjusted in the webpart ?
0 Kudos
BrianEgnitz
Emerging Contributor
This can be resolved by first configuring all connections to be https and then changin the ArcGISOnline.xml file found in the ArcGIS configuration folder to https.  I also changed some of the other map defaults, but this seamed to do the trick


<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
  <Sharing>https://www.arcgis.com/sharing/</Sharing>
  <Secure>https://www.arcgis.com/sharing/</Secure>
  <ProxyServer></ProxyServer>
  <ProxyServerEncoded></ProxyServerEncoded>
</Configuration>


2.1.1 esri Webpart for SP2010
0 Kudos
EricKant
Deactivated User
Thanks, Ill try this tomorrow ...
0 Kudos