Issue while hosting WCF service on IIS 7 - wcf

I am unable to browser the service which is hosted on IIS 7 Windows Server 2008.
When I hit the url http://myservice/service1.svc it throws an error.

Check to make sure you have framework 3.5 sp1 installed, after this go to Programs, add remove windows features, then make sure you have:
Microsoft .net framework 3.5.1
under that make sure both options are checked:
WCF HTTP activation, and WCF Non HTTP Activation....
If this still doesn't work update post a comment here....

Related

WCF Web Service : How to run?

Am planning to build a WCF Web service using Visual Studio 2015. I came up with a sample web service that i can launch from visual studio and this works fine when i call the APIs from browser on local host.
Now i want to deploy it in a server. Am not sure how I can deploy in a server. The final out put of the web service is a DLL.
Can someone explain to me how to deploy this in a Windows server?
Do i need to run this web service DLL as a service?
Does it got anything to do with IIS?
As per your request, I have made this an answer.
If you're looking to host a WCF service which is exposed to the outside world then the best solution is to host the service via IIS which you can find out how to do by reviewing the following article.
You can find a more visual tutorial here.
If you encounter errors after publishing to IIS then please refer to the following StackOverflow answer to see which Windows Features must be enabled.

Installing Silverlight 4 in Windows server 2012, Ria service applications not working

I have the flowing setup
Windows server 2012 Standard
IIS-8
Ria services 1.0 sp1
Silverlight 4
I need to make this applications work but I tried about anything to make this setup work. Any one know What i need to install to make Ria services work in this environment.
Already tried to install ria service on the server and using the option SERVER=true
I just keep getting the 404 when trying to connect to the server on web-config. I tried to include the wcf tracing on the web-config but the trace doesn't register anything.
Anyone have a step by step installation guild from a just installed server to a server that cans run ria service application of silverlight 4?
already tried everything here WCF RIA Service deployment issue
You also need the HTTP Activation feature installed for your IIS.
http://social.msdn.microsoft.com/Forums/en-US/silverlightwcf/thread/6539af8b-96f1-4c4b-b03e-3973f3a5744f

Error Hosting WCF 3.5 Under IIS Express

I'm trying to run WCF Service based on 3.5 Framewor on Windows 8 with Visual Studio 2012 and IIS Express.
Service hosting fails with error "HTTP Error 404.17".
I'm trying with default Visual Studio WCF template setting framework 3.5.
Works fine if I select frameworks 4.0 or 4.5.
Is there a way to make 3.5 services works fine with IIS Express?
Http activation is enabled in Windows Features.
Tried install, re-install, remove and install Service Model via:
Framework64\v3.0\Windows Communication Foundation> .\ServiceModelReg.exe -i
Still not working.
Regards,
Dmitry

Web Server to Host my MVC4 Web Application

Hi i'm trying to host an mvc4 web application on a web server and it is not working. Do i need to install something in particular so that it works? And what type of web server is the best for this type of situation?
You will need:
IIS, preferably IIS 7+
.Net installed on the server
make sure the framework is set correctly
Take a look here
if you have all this set up, let us know the error you are seeing.
1)IIS 7.5
2) MVC4 and Framework 4.5 should be installed
3) Also check that in ApplicationPools you set framawork 4.0 for your site (default is 2.0)
It would be better if you show a certain error you receive.
See the following Question... How to deploy an MVC 4 application to a Windows Web Server based dedicated hosting?
It seems incredabily relevant to what you are asking.
Also for future reference read https://stackoverflow.com/questions/how-to-ask before asking questions

IIS7.5 AppFabric - no Deploy option

I am trying to deploy a WCF service to AppFabric however there is no Deploy option when I right click on the default web site in IIS manager.
Yes this is a new install.
Anybody got any ideas on how to activate this
Actually I just found that I had to reinstall (did a complete install) MSDeploy and it worked fine.
Windows Server AppFabric requires .NET/CLR 4.0 - my guess is that the default website has a CLR 2.0/.NET 3.5 application pool backing it up (which is the default.) Rather than use the default web site, you'd be better of to create a new web site with its own application pool, set to use v4.0. This should enable the import/export application contenxt menus.