Solved

Could not download the silverlight application

Posted on 2009-04-09
6
1,591 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
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

DevOps Toolchain Recommendations

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

Question has a verified solution.

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

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…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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…

831 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