Bonjour,
J'ai un problème lors du déploiement de mon application Silverlight sous windows Xp (IIS 5.1).
J'arrive bien à accéder à l'application, mais lorsque l'application doit faire appel au service, j'obtiens cette erreur :
L'application se trouve dans C:\InetPub\wwwroot\TAF.Web_deploy
Le service se trouve dans C:\InetPub\wwwroot\TAF.Web_deploy\Svc
Le crossdomain.xml et clientacesspolicy.xml dans C:\InetPub\wwwroot\
clientacesspolicy.xml :
crossdomain.xml :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 <?xml version="1.0" encoding="utf-8"?> <access-policy> <cross-domain-access> <policy> <allow-from http-request-headers="SOAPAction"> <domain uri="*" /> </allow-from> <grant-to> <resource path="/TAF.Web_deploy/Svc" include-subpaths="true"/> </grant-to> </policy> </cross-domain-access> </access-policy>
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 <?xml version="1.0" encoding="utf-8"?> <access-policy> <cross-domain-access> <policy> <allow-from http-request-headers="SOAPAction"> <domain uri="*" /> </allow-from> <grant-to> <resource path="/" include-subpaths="true"/> </grant-to> </policy> </cross-domain-access> </access-policy>
Merci de votre aide !![]()
Partager