IIS - How to host Silverlight Application (Using WCF service to get data) in IIS 8.0

Asked By Prasanna Belsare on 25-Jul-13 08:18 AM
 Hi,

 I have created Pivot Viewer in Silverlight 5 Application. It is using WCF Data Service to fetch data. 
 I want to host this application on IIS 80 port. 

 I would appreciate if anyone post the Steps to host the application on IIS 80 port.

 My working environment is as follows
 Windows Server 2012 Standard, Visual Studio 2012, IIS 8.0, .NET 4.5
 
Robbe Morris replied to Prasanna Belsare on 25-Jul-13 08:55 AM
The Silverlight xap file is downloaded by the browser like a zip file, decompressed, and rendered in the browser.  So, there is no special "hosting" required.

The WCF portion would be set up in IIS the same way you'd set up any ASP.NET web site.
Prasanna Belsare replied to Robbe Morris on 26-Jul-13 08:01 AM
 Thanks for the quick reply..!

 Application is running successfully on IIS only when I host the WCF application with the same port as in the web section
 of project property. Application fails if I host on other than that port. It is giving following error:

 Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0,  Culture=neutral, PublicKeyToken=b77a5c561934e089'.


 I want to host the WCF app on 80 port.

 
Robbe Morris replied to Prasanna Belsare on 26-Jul-13 09:14 AM
You've got a problem on your server that is nothing to do with Silverlight.  Have you checked this out?

http://msdn.microsoft.com/en-us/library/hh169179(v=nav.70).aspx
Prasanna Belsare replied to Robbe Morris on 29-Jul-13 04:43 AM
 Thanks for reply again..
 I have already tried that, but not worked for me.
Prasanna Belsare replied to Robbe Morris on 29-Jul-13 04:43 AM
 Thanks for reply again..
 I have already tried that, but not worked for me.
Prasanna Belsare replied to Robbe Morris on 30-Jul-13 04:41 AM
 Hi,

 I got succeeded to host WCF application on IIS 80 port. But, not displaying any data. Now it is showing only blank
 pivot viewer after hosting in IIS 80 port.