CrossDomainError on same domain

前端 未结 2 522
栀梦
栀梦 2021-01-27 23:03

I\'m learning to build Silverlight 3 apps using WCF to communicate with the back end. We are going to deploy to IIS7 on Server2008 or Vista. The client binaries as well as the

2条回答
  •  灰色年华
    2021-01-27 23:19

    You need to have a crossdomain.xml and/or a clientaccesspolicy.xml at the root of your website (crossdoomain.xml is required for for flash compatability, both work with silverlight). This xml needs to cotain the following:

    
    
      
        
          
            
          
          
            
          
        
      
    
    

提交回复
热议问题