Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Hi,

I have created Silverlight5 Pivot viewer. It is using WCF Data Service to fetch data. I tried to host this WCF Application on IIS.

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 with other than that port. It is giving following error:

C#
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 as my requirement is to make it public facing.

My working environment is as follows
Windows Server 2012 Standard, Visual Studio 2012, IIS 8.0, .NET 4.5
Posted
Comments
Sampath Lokuge 27-Jul-13 3:09am    
may be helped to you.http://stackoverflow.com/questions/8514766/how-to-run-wcf-service-on-a-specific-port
prasannabelsare 30-Jul-13 7:55am    
Thanks for the reply..!

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.
Sampath Lokuge 30-Jul-13 8:00am    
That means your WCF app is not working properly, when you host it on port 80.Check whether is it working properly or not ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900