My guess is the .xap file is not in the website folder that the object tag in the html test page is referring to, or the webserver is not returning the correct mime type for .xap files.
Are you trying to run the project in design time or runtime? If you are running in design time, try putting some break points in the code in both App.xaml.cs (or vb) and [mainpage].xaml.cs (or vb). You may get to see the error. If everything works in design time, then you need to get a web debugger (aka sniffer) like Fiddler. It will tell you what is going on between your Silverlight app and the server.I suspect it has to do with some web server settings. Did you add the MIME types to the web site?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.