Solved

Could not download the silverlight application

Posted on 2009-04-09
6
1,592 Views
Last Modified: 2013-11-26
Hello, I did a web site with 2 silverlight projects.

when I execute and try to run the silverlight test page. Im having an error saying:

sys.InvalidOperationException...
Could not download the silverlight application. check web server settings.

I am actually inside VS2008 trying to run localhost via ASP.NET Development Server ...

to you know what is the problem ?
0
Comment
Question by:PhilippeRenaud
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 9

Expert Comment

by:Deathrace
ID: 24109314
This error means the mime type of the Silverlight application is not supported on your webserver. If you're certain you're using the asp.net webserver (is your url localhost:PORTNUMBER or localhost/VIRTUALDIRECTORY?) then your installation is not correct.you need to reinstall VWD, service pack and silverlight tools.
0
 
LVL 1

Author Comment

by:PhilippeRenaud
ID: 24109370
VWD ?
0
 
LVL 9

Expert Comment

by:peterdungan
ID: 24109375
this could be casued by the source being specified incorrectly in the web page
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:PhilippeRenaud
ID: 24109430
the source was indeed incorrect. but when changing to ~/ClientBin/Debug/my.xap"
the error AG_E_Unknown_Error at InitializeComponent() comes back...


I starting to find that complicated for nothing...
0
 
LVL 9

Accepted Solution

by:
peterdungan earned 500 total points
ID: 24109479
it's probably because something is being copied over by the second project. Try changing the output paths of the projects to subfolders in clientbin and changing the source path in the web page to reflect this.
0
 
LVL 1

Author Closing Comment

by:PhilippeRenaud
ID: 31568620
thanks
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

733 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