Skip to main content

Microsoft Silverlight

MultiScaleImage loves his own domain only!RSS Feed

(0)

Gilbert Lee Kor
Gilbert ...

Member

Member

20 points

6 Posts

MultiScaleImage loves his own domain only!

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!

 

 

 

 

Gilbok Lee
Microsoft MVP
http://gilverlight.net
gilbok@live.com

Wilfred Pinto
Wilfred ...

Participant

Participant

1308 points

258 Posts

Re: MultiScaleImage loves his own domain only!

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
 

Wilfred Pinto
http://projectsilverlight.blogspot.com


Please remember to mark the replies as answers if they help answer your question.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities