dojo and AGS javascript API throwing "Could not load cross-domain resources"

Discussion created by blekros on Feb 3, 2011
Latest reply on Feb 7, 2011 by blekros
How do I enable cross-domain access in Visual Studio 2010 to different resources in a web-mashup built on the  ArcGIS server REST  api,  a Work Management web-service, jQuery and Dojo all at once?

I�??ve put crossdomain.xml and clientaccesspolicy.xml files in inetpub/wwwroot and in the top level of the ASP.Net application.

If I try to host everything at localhost/virtualdirectory,  then all the CSS and Javascript that reference the root �??/�?� do not exist at localhost/, they are at localhost/virtualdirectory/

The arcgisonline server seems to include the Dojo api , so I�??m hesitant to try different Dojo downloads for fear of screwing up ArcGIS Server.

Any ideas?

The web-service is hosted at:  WinXP IIS5 localhost:80
The VS debugging is hosted in WinXP VS2010:  ASP.Net development server localhost:8011
jQuery is: