Solved

cant add silverlight

Posted on 2009-05-03
3
215 Views
Last Modified: 2013-11-12
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

0
Comment
Question by:jagguy
  • 2
3 Comments
 
LVL 4

Expert Comment

by:cauos
ID: 24289592
there is a dll file(System.Web.Silverlight) missed in your bin directory and specified in the Web.config file
0
 

Author Comment

by:jagguy
ID: 24289640
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.
0
 
LVL 4

Accepted Solution

by:
cauos earned 500 total points
ID: 24289666
add reference to your website
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question