Select to view content in your preferred language

IIS Express: Testing Silverlight API Apps

1221
4
03-25-2011 01:24 PM
MarkParr
Emerging Contributor
Is anyone using IIS Express to test their Silverlight API Apps?

I'm trying to use it and access data that we have in a SQL Server ArcSDE but I keep getting a Cross Domain error.  I've been trying to find the properly location for a clientaccesspolicy.xml file but I'm not having any luck.  Has anyone else hit and resolved this issue w/ IIS Express?  Where is the proper location for the .XML file?

Thanks
0 Kudos
4 Replies
BrandonLand
Occasional Contributor
I'm no expert in this but the policy file is supposed to go at the root of the website.

http://msdn.microsoft.com/en-us/library/cc197955(v=vs.95).aspx
0 Kudos
MarkParr
Emerging Contributor
I'm no expert in this but the policy file is supposed to go at the root of the website.

http://msdn.microsoft.com/en-us/library/cc197955(v=vs.95).aspx



I understand that but I'm not sure what the root of the website would be for IIS Express.  That's what I'm trying to find out.

Thanks
0 Kudos
RichardWatson
Deactivated User
Maybe you can run the SysInternals Process Monitor tool to find out where it is looking for the file?
0 Kudos
MarkParr
Emerging Contributor
Actually, looks like the problem was the clientaccesspolicy.xml file did not exist on the IIS server that I was trying to access.  The Sysinternals Monitor helped though in that it verified that I had things locally in the right place.
0 Kudos