Select to view content in your preferred language

Need help with  the School Locator application downloaded from ArcGIS Resource center

828
1
01-21-2011 01:35 PM
JamesWalker
New Contributor
I am having a little difficulty using a Silverlight program called "School Locator" I downloaded from the ArcGIS Resource center. 
http://help.arcgis.com/en/webapi/silverlight/gallery.html
http://coolapps.cybertech.com/AppGallery/school_locator.aspx
When I run the program on my desktop using Visual Studio it deploys correctly using the sample data on the ESRI server that the program comes with, I tried replacing the school layer with schools for my district in a schematically identical feature class but they did not display. So I took a copy of the ESRI sample data and created a web service on my server and tested it independently, and it worked. But when I plugged the URL to my server into the silver light program I still get no schools.

This is the original code from the Web.config part of the program.
  <!-- SERVICE URLs (Public Schools,Boudaries and Other Services) -->
    <add key="HighBoundary" value="http://184.72.240.25/ArcGIS/rest/services/School_Locator/MapServer/1"/>
    <add key="MiddleBoundary" value="http://184.72.240.25/ArcGIS/rest/services/School_Locator/MapServer/2"/>
    <add key="ElementaryBoundary" value="http://184.72.240.25/ArcGIS/rest/services/School_Locator/MapServer/3"/>
    <add key="PublicSchools" value="http://184.72.240.25/ArcGIS/rest/services/School_Locator/MapServer/0"/>
    <add key="EmailService" value="http://184.72.240.25/ArcGIS/rest/services/CoolAppsFeatureServices/FeatureServer/17"/>
    <add key="CommentService" value="http://184.72.240.25/ArcGIS/rest/services/CoolAppsFeatureServices/FeatureServer/16"/>

and this is changeing the one piece of data to call the copy on my server, which hapens to be on an internal network.

  <!-- SERVICE URLs (Public Schools,Boudaries and Other Services) -->
    <add key="HighBoundary" value="http://184.72.240.25/ArcGIS/rest/services/School_Locator/MapServer/1"/>
    <add key="MiddleBoundary" value="http://184.72.240.25/ArcGIS/rest/services/School_Locator/MapServer/2"/>
    <add key="ElementaryBoundary" value="http://184.72.240.25/ArcGIS/rest/services/School_Locator/MapServer/3"/>
    <add key="PublicSchools" value="http://appsutil/ArcGIS/rest/services/School_Locator/MapServer/0"/>
    <add key="EmailService" value="http://184.72.240.25/ArcGIS/rest/services/CoolAppsFeatureServices/FeatureServer/17"/>
    <add key="CommentService" value="http://184.72.240.25/ArcGIS/rest/services/CoolAppsFeatureServices/FeatureServer/16"/>

Does anyone know why this isn�??t working?  Dose the URL need to match something else somewhere in the program?  I am new to Silverlight development, hopefully I am missing something simple that can be easily fixed.

Thank you for taking the time to help me
James Walker
Garland Independent School District
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
You can try to troubleshoot the layers that do not display by reading this blogpost: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx
0 Kudos