WCF REST Service aspCompatibilityMode not working in IIS

Trying to deploy a wcf rest service inside of an asp.net web application. Works wonderfully when deploying to test server in visual studio, however when i deploy to iis 6 I get nothing. It is as if my service is not there at all.

here is my web config under system.service model:

<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />

and im registering a route in the global.cs

routes.Add(new ServiceRoute("Service", new WebServiceHostFactory3(), typeof(WcfJQueryService)));

my web service class is decorated with:

[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]

I am using windows authentication if that matters in this case...

Any ideas??

Answers


Got this to work via the instructions in this article...

http://hackprogrammer.blogspot.com/2009/01/installing-wcf-on-iis6.html

running aspnet_regiis -i for .net4.0 got me up and running


Need Your Help

how to get NSString variable value from NSObject to ViewController

iphone ios uitableview nsobject

I am trying to set up an object to controll all of my data so it can set things up in the background to it appears my tableviews load faster than they do now etc.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.