Select to view content in your preferred language

Upgrading to silverlight builder errors

3501
5
10-27-2012 03:15 PM
RebeccaVanKampen
Deactivated User
I just tried upgrading to the Silverlight Viewer 3.0 and ran into problems:

1-The maps I have created with version 1 are no longer populated in the initial Builder screen. They are still in my Apps directory but are not being recognized in the Builder.
2- When I open the Builder to start creating my new map I get error message "unhandled error 2502 line 20 position 36" and the whole map window is blank.

I uninstalled the application (version 3), uninstalled version 1, then tried reinstalling it. Same thing.

Any ideas how I can get the application to work, and then to see the exisiting web maps in the new Builder so I can continue making edits?

Thanks-
0 Kudos
5 Replies
KatherineDalton
Esri Regular Contributor
Hi Rebecca,

At this point you've completely uninstalled and reinstalled version 3.0 and you are still seeing the error when trying to create a new map?

In terms of accessing your existing applications, it sounds like your Sites.xml file (C:\inetpub\wwwroot\Builder\App_Data) was removed during one of the uninstalls. (When running the initial upgrade to v3.0 it is preserved, but may have been removed during your uninstalls). If that is the case (the Sites.xml file was removed), you can manually re-create the Sites.xml file so that your applications appear on the Home screen. Just a note, though, don't recreate this file until we've sorted out the other error you are seeing. Or if you do, save it somewhere other than the App_Data directory so it is not accidently removed.

The Sites.xml file structure is shown below. When recreating the file, you'll need to enter the information for each tag, but much of it you should be able to copy/paste for each. Each site needs a GUID for its ID value and you can use any GUID generation tool such as http://www.guidgen.com/. Once you've generated a GUID, enter it (without hyphens) into the ID tag.

<?xml version="1.0" encoding="utf-8"?>
<Sites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <Site>
    <ID>4c8512e8b119418a992ab22ec73dd07e</ID>
    <Name>QueryRelatedTool</Name>
    <Url>http://kdalton7/Apps/QueryRelatedTool</Url>
    <PhysicalPath>C:\inetpub\wwwroot\Apps\QueryRelatedTool</PhysicalPath>
    <IsHostedOnIIS>true</IsHostedOnIIS>
    <IISHost xsi:nil="true" />
    <IISPort>80</IISPort>
    <IISPath xsi:nil="true" />
    <Description />
  </Site>
  <Site>
    <ID>9c4b2ce1705345c2bcdf2258d8b71ae2</ID>
    <Name>NonWebMercator</Name>
    <Url>http://kdalton7/Apps/NonWebMercator</Url>
    <PhysicalPath>C:\inetpub\wwwroot\Apps\NonWebMercator</PhysicalPath>
    <IsHostedOnIIS>true</IsHostedOnIIS>
    <IISHost xsi:nil="true" />
    <IISPort>80</IISPort>
    <IISPath xsi:nil="true" />
    <Description />
  </Site>
</Sites>

Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
RebeccaVanKampen
Deactivated User
Thanks for the reply.
I'll work on fixing the sites xml page.

As for the 3.0 error.
Right now I have completely uninstalled 1.0 and am now only accessing 3.0 Builder. Upon opening it (http..//<server>/Builder) The first screen is an extension load failed error. Its a ReflectionTypeLoadFailed_LoadFailed. After closing that window I then select "create a new application" amd select the "new map" icon. Thats when I get the Unhandled Error 2502 An Error has occured. Line 20 Position:36. I can't see any base map (bing maps) and it's all gray. When I switch to try and look at the tools I get an "unhandled error 0x1A88 and the tool icon is greyed out. If I try adding something from ArcGIS online it won't load and the map window stays greyed out.
When I click on the "about Application Builder" it says it still is Version 1.0.0 built on the 2.2 API. I have completely uninstalled Versiion 1 and even deleted it from my registry.

Any thoughts?
Becca
0 Kudos
KatherineDalton
Esri Regular Contributor
Hi Becca,

It sounds like the Application Builder isn't getting installed successfully and the other errors you see are simply a result of that. Could you maybe send some screenshots of your Add/Remove Programs panel and the Registry (HKEY_CURRENT_USER\Software\ESRI\ArcGIS Silverlight Viewer\v3.0 or v1.0 - if applicable). Also, did you have version 1.0 or 1.0.1 of the Application Builder installed previously?

Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
RebeccaVanKampen
Deactivated User
I had version 1.0.1 installed previously. I am attaching both reg key and the add/remove programs screenshot. Let me know if something stands out.

Thanks-
0 Kudos
RichZwaap
Frequent Contributor
Hi Becca:

Sorry to hear the upgrade didn't go smoothly for you.  If you haven't already, could you try clearing your browser cache?  I'm wondering if it's simply a cache issue since the version in the About dialog is still showing the previous version.  It may well be something else, but let's start there.
0 Kudos