Select to view content in your preferred language

Layer Errors

550
2
10-22-2012 05:32 AM
KennethLyons
Emerging Contributor
Recently, I've started getting errors in my Viewer when it opens.  The errors are related to layers that I have created and published to a server in another location.  The problem seems to be the communication between where my viewer is stored and where the layers are published from.  I've checked the URLs within the code and they are correct. 

My bottom line question is, has anyone else ran into this issue, and if so, how did you go about trying to fix it?  I've attached a copy of the error that I'm getting in my viewer for reference.

Thanks
Tags (2)
0 Kudos
2 Replies
AnthonyGiles
Honored Contributor
Kenneth,

Are your layers on a different server from which you are serving the Flex application? If so, you will need a crossdomain file on the web server, see:

http://help.arcgis.com/en/webapi/flex/help/index.html#/Using_crossdomain_xml/017p0000001w000000/

Regards

Anthony
0 Kudos
KennethLyons
Emerging Contributor
Anthony,

Thanks for the possible solution.  I'll have to contact the server's administrator to have that implemented.  But thanks for you're time.
0 Kudos