Solved

Could not download the silverlight application

Posted on 2009-04-09
6
1,595 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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 this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

726 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