I am trying to create a "Hello world" application in Silverlight 3.0, but when it runs, there is an error: (IE 8)
Error:
Unhandled Error in Silverlight Application
Code: 2104
Category: InitializeError
Message: Could not download the Silverlight application. Check web server settings
When the project was created I chose to host the Silverlight application in a new web site (ASP.net web application project )
Here is my code:
<UserControl x:Class="Test.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
<Grid x:Name="LayoutRoot">
<TextBlock Text="Hello World!"/>
</Grid>
</UserControl>
I also have tried to run in Firefox, it does not work there either.
Does anybody know how to fix this?