Cross domain error when loading basemap?

Discussion created by thek04 on Aug 13, 2013
Latest reply on Oct 1, 2013 by jdkitzmi
I get the following error in my console when I first load my code. I think it is a cross domain error. I have never had one of these before so I have no idea where to begin.

XMLHttpRequest cannot load Origin null is not allowed by Access-Control-Allow-Origin.
Resource interpreted as Script but transferred with MIME type text/plain: "".

I am pulling data into my page using DynamicMapServiceLayer for extra basemap data like townships and sections. I am also using FeatureLayer to pull in the data that I am running my queries and other tasks on.

I also don't have much access to my server to make any changes.


Any ideas on how to correct this error?