Newer to the silverlight why the map invisible?

619
4
Jump to solution
11-25-2013 06:01 AM
kju
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.
0 Kudos
1 Solution

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

View solution in original post

0 Kudos
4 Replies
kju
by
New Contributor III
I solved the unknown problem by reinstall Visual Studio and related silverlight software.
0 Kudos
shymashihabudheen
New Contributor
give map extent
0 Kudos
PrakashSingh
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
0 Kudos
kju
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.
0 Kudos