Hi:
Maybe. Please check the permission. Anyway I think we can bypass this problem. Try this to see if it works:
<asp:Silverlight ID="Xaml1" runat="server" Source="~/Default.aspx" Version="2.0" Width="100%" Height="100%" />
In Default.aspx:
protected void Page_Load(object sender, EventArgs e)
{
Response.Clear();
Response.AppendHeader("content-disposition",
"attachment; filename=" + "SilverlightApplication24.xap");
Response.ContentType = "application/s-silverlight-app";
string FilePath = MapPath("ClientBin/SilverlightApplication24.xap");
Response.WriteFile(FilePath);
Response.End();
}
Regards
Sincerely,
Allen Chen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.