Skip to main content
Home Forums Silverlight Programming Programming with .NET - General MultiScaleImage loves his own domain only!
1 replies. Latest Post by Wilfred Pinto on April 3, 2008.
(0)
Gilbert ...
Member
20 points
6 Posts
03-31-2008 9:20 PM |
For example,
DeepZoomViewer.xap is in http://hugeflow.com/DZ/DeepZoomViewer.xap
Seoul N Tower Data ( by DeepZoom Composer) is in http://shiverlight.net/MultiImage/seoulntower/ (so, MultiScaleImage.Source = http://shiverlight.net/MultiImage/seoulntower/info.bin )
and http://shiverlight.net/ crossdomain policy is opened for all domains.
In this case, DeepZoomViewer.xap try to get http://hugeflow.com/MultiImage/seoulntower/info.bin continueously.At last, it is failed.
I observed the situation with Fiddler2.
Why does MultiScaleImage change absolute uri for source with it's hosted domain as its pleases?
This means that .xap file using MultiScaleImage and MultiScaleImage Source must be in the same domain together,without reference to x-domain policies.
I'll be waiting for your advice.Thank you!
Wilfred ...
Participant
1308 points
258 Posts
04-03-2008 3:40 PM |
I encountered the same issue too. I used silverlight.live.com to host the xap file and my domain to host the image files. But I couldn't get the xap file to read the image file even after dropping a cross domain policy file on my domain!
I mentioned it at the end of this post http://projectsilverlight.blogspot.com/2008/03/dissecting-hard-rock-memorabilia-and_31.html