Solved

cant add silverlight

Posted on 2009-05-03
3
213 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

810 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