Silverlight PivotViewer Deployment Issues

I have a Silverlight PivotViewer application that works fine in Visual Studio. My problems arise when I try to deploy the application. The application starts, as usual, with the "Download" animation and by navigating to the CXML file in the upper left corner. The problem is when the Download animation is complete, it just disappears and nothing else appears on the screen. Only the path to the CXML file remains in the upper left corner.

I have done the following:

  • Make sure that all files are in the same place on the server to avoid problems between domains.
  • Added clientaccesspolicy.xml to the root directory
  • Verify that the path to the CXML file exists on the server
  • Add the following MIME types:
    • .cxml - text / xml
    • .dzc - text / xml
    • .dzi - text / xml

Nothing seems to help. Does anyone know how to make this work?

+4
source share
3 answers

Add an event handler for the "Download Failure" event and look at the exception?

PivotViewer.CollectionLoadingFailed += new EventHandler< CollectionErrorEventArgs >( PivotViewer_CollectionLoadingFailed ); 
+1
source

It sounds strange, I suggest you do the following:

  • Try accessing the CXML link using your web browser (to check if the link is broken or not)

  • Have you tried opening your Pivot CXML using the Pivot Desktop Viewer?

CXML may not be a valid XML file, you can check if it is valid or not, save the cxml file. rename it to .xml drag it on top of the Firefox window. If you get a Yellow screen, it means that the XML file is poorly formed and you get error information.

Hope this helps you solve your problem.

0
source
0
source

All Articles