Hi again.Thank you for answer but I sill have this problem.
I think that everything is correctly set in my IIS because after launching DNN site in log this entry appears:
2008-03-11 18:47:10 127.0.0.1 GET /dotnetnukehelp/DesktopModules/SModule/Silverlight2_HelloWorld/SilverlightApplication1.xap - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0b;+Windows+NT+6.0) 304 0 0
While openning DNN via VS08 no message about upgrading to .net version 3.5 shows so I assume that it already is in v 3.5.
Maybe my DNN module is wrongly constructed. I simply created new module following the tutorial: http://adefwebserver.com/DotNetNukeHELP/LinqTutorial/LinqTutorial3.htm and after that my View.ascx looks like this:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="View.ascx.cs" Inherits="DotNetNuke.Modules.SModule.View" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Silverlight Hello World</title>
<style type="text/css">
#silverlightControlHosta
{
height: 100%;
}
</style>
<script type="text/javascript">
function onSilverlightError(sender, args) {
if (args.errorType == "InitializeError") {
var errorDiv = document.getElementById("errorLocation");
if (errorDiv != null)
errorDiv.innerHTML = args.errorType + "- " + args.errorMessage;
}
}
</script>
</head>
<body>
<!-- Runtime errors from Silverlight will be displayed here.
This will contain dugging information and should be removed or hidden when debugging is completed -->
<div id='errorLocation' style="font-size: small; color: Gray;">
</div>
<div id="silverlightControlHost">
<object data="data:application/x-silverlight," type="application/x-silverlight-2-b1"
width="100%" height="100%">
<param name="source" value="DesktopModules/SModule/Silverlight2_HelloWorld/SilverlightApplication1.xap" />
<param name="onerror" value="onSilverlightError" />
<param name="background" value="white" />
<a href="http://go.microsoft.com/fwlink/?LinkID=108182" style="text-decoration: none;">
<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight"
style="border-style: none" />
</a>
</object>
<iframe style='visibility: hidden; height: 0; width: 0; border: 0px'></iframe>
<p>silverlight</p>
</div>
</body>
</html>
Any idea why silverlight content didn't appear?