This exception comes due to simple reason that there are MIME Types missing for your silverlight Application which gives you following exception in your IE,
To reslove the same you simply need to add the MIME types to your WebSite on IIS. Select HTTP Headers Tab under the Properties. Click on MIME Types and add
.xaml application/xaml+xml
.xap application/octet-stream
You also need to enable the Content Expiration
Now your silverlight object will be loaded. If you still face problems try checking up on your permissions
Similar Posts:
- AG_E_PARSER_BAD_PROPERTY_VALUE
- Not able to Debug Silverlight 2.0 application in Visual Studio 2008
- The following module was built either with optimizations enabled or without debug information + Silverlight
- Request for the permission of type ‘System.Data…’ failed
- Faster Page Loads with Apache mod_deflate output filtering

#1 by Lucy on March 11, 2010 - 6:27 am
Quote
Hoping to spare someone the hours of pain it took me to figure this out. On one computer it was an issue of not having the IIS correctly up and set.
On the other…straight app with nothing on it wouldn't run and returned the error. The fix was from the menu bar Build>Build Silverlight Application.
It then seems to work properly.
#2 by Kevin on November 19, 2010 - 4:36 am
Quote
Thanks a lot! Reading your suggestion, I did a Build-Rebuild Solution and it worked! I am use VS 2008 SP1