문제

I have deployed a Silverlight 5 PivotViewer web app that runs successfully on the development machine to a server running IIS 6.0. On that server, the application in a browser runs successfully from localhost. If, on the server, I browse to the html file directly, I get a blank pivotviewer control rendered (as if it can't find my cxml file) Remotely, I get the same response, a blank pivotviewer control loads. I can access the cxml file remotely via http. However, for one reason or another, the pivotviewer comes up empty. Please help!

도움이 되었습니까?

해결책

Add the CXML, DZI and DZC MIME type to your webserver :

appcmd set config /section:staticContent /+[fileExtension='.cxml',mimeType='text/xml']

appcmd set config /section:staticContent /+[fileExtension='.dzc',mimeType='text/xml']

appcmd set config /section:staticContent /+[fileExtension='.dzi',mimeType='text/xml']
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top