jagguy
asked on
cant add silverlight
I add my silverlight app to my master page (between the tags) in asp.net and I get these errors
Error 3 Could not load file or assembly 'System.Web.Silverlight' or one of its dependencies. The system cannot find the file specified.
Error 4 Unknown server tag 'asp:Silverlight'.
Error 3 Could not load file or assembly 'System.Web.Silverlight' or one of its dependencies. The system cannot find the file specified.
Error 4 Unknown server tag 'asp:Silverlight'.
<%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %>
<%@ Register Assembly="System.Web.Silverlight" Namespace="System.Web.UI.SilverlightControls"
TagPrefix="asp" %>
..
...
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div style="height:100%;">
<asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/timerB.xap" MinimumVersion="2.0.31005.0" Width="100%" Height="100%" />
</div>
there is a dll file(System.Web.Silverligh t) missed in your bin directory and specified in the Web.config file
ASKER
ok so i copied the System.Web.Silverlight.dll to the asp.net website clientbin directory and root directory of the website.
That didnt work.
That didnt work.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.