Reputation: 11915
I am trying to deploy my PivotViewer files to an IIS server. I have added a MIME info for the cxml, dzc and dzi as "text/xml".
What else do I need to do? Currently, if I try to run my PivotViewer app in Visual Studio it is fine.
when I try to access this machine through the IIS webserver, the pivotviewer "loading" page comes up, but the collection never loads.
Upvotes: 2
Views: 1222
Reputation: 1347
For other people that may come across this: I was never able to get it to work on IIS7 correctly, I could get it working on my local machine on IIS Express, but never on production.
My solution was to upgrade to Silverlight 5, and use the new Pivot viewer control. It works a lot better, has a number of more features, and no problems in deployment to IIS 7 or 7.5
Upvotes: 0
Reputation: 807
Add a handler to the Loading Fail event and look at the exception?
PivotViewer.CollectionLoadingFailed += new EventHandler< CollectionErrorEventArgs >( PivotViewer_CollectionLoadingFailed );
Upvotes: 0
Reputation: 4344
Enter the full path for the .cxml and look what error you get from there. I struggled with the same error yesterday and tried different options. Started with Internal Server Error 500
and ended with Handler "CXML" has a bad module "ManagedPipelineHandler" in its module list
Things to try:
AppPool
(for me it was set to .NET Classic and started working when I set it to ASP.NET v4.0
).cxml
but .dzc
and .dzi
as well)run %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe –i
I blogged about this with links in here: http://silverlight.riiul.com/2011/02/15/handler-cxml-has-a-bad-module-managedpipelinehandler-in-its-module-list/
Upvotes: 0