HTML5 viewer displays no map data but Silverlight does
Hi,
I have a site with one Silverlight viewer and one HTML5 viewer.
The Silverlight viewer works fine, but the HTML 5 viewer shows no map data, only the layer list.
In both cases the URL starts with https... but for now security is disabled (and it makes no difference when I enable it except that I get asked for a username and password before I get the blank map window).
Does someone perhaps know why this is happening?
The software versions we use are:
Essentials: 3.4.12
Silverlight: 1.8
HTML5: 1.2
Thanks
Hanlie
-
Had a similar problem, fixed it by using the full server name including the domain in the map service urls. I've no idea why that fixed it.
For example, I had in the site.xml:
http://abc123:6080/arcgis/rest/services/xyz/HHS/MapServer
and changed it to:
http://abc123.dev.csv.au:6080/arcgis/rest/services/xyz/HHS/MapServer
0 -
I had the same experience as MDC.
This was particularly true for the Android tablet I was testing with. It wants the full server name, even when I'm connected to our internal network.
0 -
Thanks for the replies.
We always use full server names, but I haven't tried using the port before. Will try that if it happens in future.
I 'fixed' the problem be removing the services and until the problem went away and then adding them back in.
0 -
I have run into this problem on a new site. I always use servername:port and haven't had any trouble before. I have existing sites that use that format that are working.
This new one works just fine in a Silverlight Viewer, and is pretty much blank in an HTML5 viewer. One map service is working in HTML5, and all the rest are blank (and they show up in the layer list).
I tried changing the url in the site.xml as mdc suggested to see if that would help but it didn't fix the HTML5 site and it gave me a "Critical Viewer Error -- Cannot open configuration file" on the Silverlight viewer.
Hanlie, you say you "fixed" the problem by removing the services... did it just work when you added them back? I tried adding one of the blank map services again (so I wouldn't have to remove and add and reconfigure) and the new service was blank in the HTML5 viewer too. Not looking hopeful.
Anyone else in this boat?
0 -
We have this issue currently with the latest versions of html5 and silverlight and essentials. Where we have a parcel layer and a address label layer and they dont show up in html5 but work perfectly fine in silverlight. any help would be great!!
0
Please sign in to leave a comment.
Comments
5 comments