Solved

cant add silverlight

Posted on 2009-05-03
3
211 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
Comment Utility
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
Comment Utility
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
Comment Utility
add reference to your website
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now