TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rick Doll
NA
47
0
client access policy
Jan 21 2011 1:08 PM
I had a error pop up when I went to actually deploy my silverlight application on the web.
It signified not being able to reach localhost.
I read on the net about client access policy and also cross domain.
I dropped the files:
clientaccesspolicy.xml
With code
<?
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
>
And file:
crossdomain.xml
with code
<?
xml
version
=
"
1.0
"
?>
<!
DOCTYPE
cross-domain-policy
SYSTEM
"
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd
"
>
<
cross-domain-policy
>
<
allow-http-request-headers-from
domain
=
"
*
"
headers
=
"
SOAPAction,Content-Type
"
/>
</
cross-domain-policy
>
***************************************************************************
I have a sub domain that I am running the silverlight application in. I placed both of those files in the same folder that contains the silverlight application.
What more do I have to do as it is still displaying the error?
Reply
Answers (
2
)
Event Notification/Messaging Engine for Large Asp.net Web Application
Help with Drag/Drop