Tuesday, December 15, 2009

InitializeError error #2104 in control 'Xaml1': Could not download the Silverlight application

Today I was working in my first Silver Light application, everything is working fine but when I upload website at server than it’s strange for me that my page was not showing properly.
Normally common starting error is “InitializeError error #2104 in control 'Xaml1': Could not download the Silverlight application. Check web server settings”
To resolve this error ,You must check in IIS if MIME Type Silverlight is inserted.

1) Go to Site Properties -> HTTP Headers
2) Click MIME Types
3) Click New
4) Fill the follow fields:
Extension: .xap
MIME type: application/x-silverlight-app
5) Finish!

For more details you can review this article.


Copyright 2009 All Rights Reserved Shakti Singh Dulawat