?
Solved

Could not download the silverlight application

Posted on 2009-04-09
6
Medium Priority
?
1,596 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 2000 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

Technology Partners: 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!

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…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

752 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