Are you placing the Silverlight scripts on the loading ASPX page? What IIS7 file manager? Explain that one please, curious.
Sorry if this topic has been beaten to death, but I'm just getting into the actual deployment of a Silverlight in ASP. I'm using the IIS7 beta, have uploaded the project to the ftp; no problem. However, when I attempt to view the site I get the well known 404. Here's how I have the xaml embedded in the default aspx page. <form id='form1' runat='server'> <div> <asp:ScriptManager ID='ScriptManager1' runat='server'/> <cc1:Xaml ID='Xaml2' runat='server' XamlUrl='~/Page.xaml' Height='668.789px' Width='851.955px'/> </div> </form> If I use the default html page as the startup it works fine, but I get the 404 trying to use the aspx. Also, in the IIS7 mgr, if I try to browse, right click file and select browse, the aspx I get the 404 whereas the html file shows up just fine.. Need some help getting up and running with the aspx page guys, any help would be appreciated.
Are you placing the Silverlight scripts on the loading ASPX page? I think I found the problem, or at least a workaround at this point.. I was creating a simple ASP.NET Web Application with C# code behind for Silverlight 2.0. This may have been the wrong choice. I recreated the same web site in a ASP.NET AJAX Futures Web Application and all almost worked right out of the gate without any need for placing any Javascript references in the loading aspx page.. I had received a server error which showed that the System.Data.DataSetExtensions were not able to be loaded. At this point of the site's infancy I gambled and commented that line out of the Web.config and it's now serving the aspx page with my Silverlight content. http://community.discountasp.net/emoticons/yeah.gif Previously I did not have the Custom errors tag set to off so I didn't get the failure info.. What IIS7 file manager? Explain that one please, curious. I'm sorry, I was simply referring to the IIS7 manager that I can manage my instance of the beta IIS7 instance for DASP. Thanks for the response it gave me a starting place to learn.