views:

105

answers:

1

Im using WCF REST 4.0 meaning to say their is no .svc file.. So I have 3 different service classes in one service WCF Rest Application project. And I registered all these services in the Global.asax

What im trying to do is that I have a set of Business Functions from a lower framework e.g: .NET 1.0/2.0 where in i use datasets and not call basic add/update/delete entity function unlike in the newer releases. So I wanted to ask if this type of match would work in .Net 4.0 or is their any other reason for this?

Thank you

+1  A: 

If your services work in Web Development server than they have to work in IIS. What version of IIS do you use? Remember that extensionless URLs are only supported in IIS 7.x. If you want to use them in older version you have to modify IIS configuration (check this thread). Also make sure that your IIS has properly registred .NET 4.0 and all realted ISAPI. If you installed .NET 4.0 after IIS it is best to use aspnet_regiis.exe from .NET 4.0 folder.

Ladislav Mrnka
I am using IIS 6.0. I tried the steps but I wasnt able to follow because I published through Visual Studio and the process is completely different Let me tell you the step by step process I follow below:1) Right click service then click publish2) publish Method File System3) Target Location --> http://localhost/CustomerServiceThen in IIS I configure the ff:1) Enable Directory browsing2) Advance settings-->Application Pool= ASP.NET v 4.03) Edit Permission of Service Then Security then add Network ServiceThen when I check my Servicehttp://localhost/CustomerService/CustomerService/help
Ravi
I get the error:Request ErrorThe server encountered an error processing the request. Please see the service help page for constructing valid requests to the service.
Ravi