Silverlight Crossdomain

后端 未结 13 764
面向向阳花
面向向阳花 2021-01-01 10:52

I\'ve seen a lot of links to MSDN and \"works on my machine!\" answers so I\'d like to ask my question with the exact steps to duplicate what I\'m doing. Because we are usin

13条回答
  •  无人及你
    2021-01-01 11:36

    Something that worked for me began with what I found on the silverlight forums here. It essentially asked if I could even get to my clientaccesspolicy.xml or crossdomain.xml from localhost (http://localhost/clientaccesspolicy.xml). When I tried to navigate there, I couldn't so I simply found the code for both of them (also within the aforementioned thread), and copy-pasted over the code inside of those files existing in my inetpub\wwwroot\ directory (I opened them up using Notepad++). The weird part was the code didn't change at all , and yet, it works! Hope that helps someone! This was extremely strange.

    clientaccesspolicy.xml

    
     
      
        
          
            
          
          
            
          
        
      
    
    

    crossdomain.xml

    
    
    
      
    
    

    Be blessed!

    -sf

提交回复
热议问题