VansFannel
VansFannel

Reputation: 45911

How to deploy a WCF web service in IIS 8.0 using Visual Studio 2010?

I've developed a WCF Restful service with C#, .NET Framework 4.0 and Visual Studio 2010.

On Visual Studio 2010, I have did right click on WCF project, and select Publish.... On Publish web dialog I have selected File system as publish method.

This WCF service runs perfectly on my IIS 7, running on a Windows 7 Ultimate 64 bits.

I have followed this tutorial to publish it on an IIS8, running on a Windows Server 2012.

But, when I access the url http://localhost/MyService.svc/users I get a 404 NOT FOUND error.

This error page show that it is trying to access the physical path D:\IIS\MyProject\MyService.svc\users that is not found.

What do I have to do to enable my WCF Service?

Upvotes: 2

Views: 11135

Answers (1)

Related Questions