Newer to the silverlight why the map invisible?

361
4
Jump to solution
11-25-2013 06:01 AM
by
New Contributor III
I just installed the silverlight 4 tool for visual studio,and the silverlight developer, but the map is alway invisible when running the app,why?
I have installed the arcgis server to the directory :H:\Program Files ,and my clientaccesspolicy.xml is config with:
[HTML]<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
  <cross-domain-access>
    <policy>
      <allow-from http-request-headers="*">
        <domain uri="*"/>
<domain uri="http://*"/>
      </allow-from>
      <grant-to>
        <resource path="/" include-subpaths="true"/>
      </grant-to>
    </policy>
  </cross-domain-access>
</access-policy>
[/HTML]
I event  create a directory "C:\inetpub\wwwroot" and copy the files "clientaccesspolicy.xml" and "crossdomain.xml" inside.
what is the other stuff I shoul do then? Thanks very much.
Reply
0 Kudos
1 Solution

Accepted Solutions
by
New Contributor III
I solved the unknown problem by reinstall Visual Studio and related silverlight software.

View solution in original post

Reply
0 Kudos
4 Replies
by
New Contributor III
I solved the unknown problem by reinstall Visual Studio and related silverlight software.

View solution in original post

Reply
0 Kudos
New Contributor
give map extent
Reply
0 Kudos
New Contributor
Hello,
I have a same problem as I could not see my layers when I run my silver light application. Could you please help me that what should i do.

Prakash
City of Los Angeles
Reply
0 Kudos
by
New Contributor III
Hello,
I have a same problem as I could not see my layers when I run my silver light application. Could you please help me that what should i do.

Prakash
City of Los Angeles


perhaps it's the map extend is too large or too small,that is the ordinary issue.
I have just posted above that I solved the issue by re-install my vs.Or you can repair and re-install the relate silvelight ware.
That is what did.Maybe you can check your "clientaccesspolicy.xml " first.
Reply
0 Kudos