Zum Hauptinhalt gehen

Silverlight Viewer 2.2 not accessible for upgrade

Kommentare

1 Kommentar

  • Permanently deleted user

    Hi Kirk,

    The first step to troubleshoot this error is to ensure that the error isn't just telling us the truth.

    A viewer that is managed by REST manager has two viewer configuration files:

    • The Viewer.xml that's in the Site folder's VirtualDirectory - containing your specific settings for this viewer, and
    • The Viewer defaults that are in the template's virtual directory.

    If either of those files can't be downloaded or have errors when you try to manage your site, then you'll see an error like this one.

    In a new browser tab, try to load:

    http://geocortex.dev.windsor/Geocortex/Essentials/REST/sites/My_City_upgrade_22/viewers/Viewer_Silverlight_20/VirtualDirectory/Config/Viewer.xml

    If that file loads and you see some XML, search through the content for the "ExternalConfig" tag.  Replace the "Viewer.xml" with the ExternalConfig value.  It will have lots of dots so that we can use a relative path, so you'll end up with something like:

    http://geocortex.dev.windsor/Geocortex/Essentials/REST/sites/My_City_upgrade_22/viewers/Viewer_Silverlight_20/VirtualDirectory/Config/../../../../../../Templates/SilverlightViewer_2_0/VirtualDirectory/Viewer.Defaults.xml

    The browser will resolve the ".." when you visit this URL but you should still see some sort of XML content.

    If you get an XML parsing error for either of these files, or a server error, we'll have to resolve that before being able to upgrade the viewer.

    XML parsing errors are usually the result of manual edits to the configuration file that break the XML.  If you've made any manual edits, review those to make sure tags and quotation marks are closed.

    Server errors can result from a site that won't load, which causes the viewer endpoint to not publish.  It can also be caused by a removed template.  If you've already removed the 2.0 template, consider redeploying just the template (not the management pack) until the viewers are upgraded.

    Regards,

    -Malcolm

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.