Tips/Tricks: Problem in using asp:Silverlight control in Silverlight 2 (beta1)

April 3, 2008

Someone asked how to use asp:Silverlight control in Silverlight forum. He said that he is getting the error above after adding asp:Silverlight control to ASP.NET project where he host Silverlight content.

Error Screenshot

sl-err.jpg

Solution :

Remove this <system.web><compilation debug=”false”><assemblies>

<add assembly=”System.Web.Extensions, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″/>

It’s because you have added two different version of System.Web.Extension in your project. The one that you have is 3.5.0.0 but when you place asp:Silverlight control in ASP.NET, the new version (3.6.0.0) will be added in web.config. So, you have to remove this lin.

Happy Silverlighting! :)

Tips/Tricks: Problem in using asp:Silverlight control in Silverlight 2 (beta1)

posted in Silverlight by Michael Sync

Follow comments via the RSS Feed | Leave a comment | Trackback URL

1 Comment to "Tips/Tricks: Problem in using asp:Silverlight control in Silverlight 2 (beta1)"

  1. Michael Sync » Silverlight 2 (beta1): URL Referrer, Screen Resolution, Client’s Data Time and IP Address wrote:

    [...] control in Default.aspx. If you are facing some problems in adding this control, please read this post. Actually, it’s better if we are able to use in TestPage.aspx but we can’t because we [...]

Leave Your Comment

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org