Solved

Could not download the silverlight application

Posted on 2009-04-09
6
1,589 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
  • 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 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

16 Experts available now in Live!

Get 1:1 Help Now