Link to home
Start Free TrialLog in
Avatar of jagguy
jagguyFlag for Australia

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'.      
<%@ 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>

Open in new window

Avatar of cauos
cauos

there is a dll file(System.Web.Silverlight) missed in your bin directory and specified in the Web.config file
Avatar of jagguy

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.
ASKER CERTIFIED SOLUTION
Avatar of cauos
cauos

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial