6

I can't seem to get around this problem of adding a web service reference when the web service is hosted in IIS 7.

I can add it just fine if I am running the VS2008 development server, but when I switch it over to IIS I get a 405 error. It seems to be a permission issue, but what?

I've tried adding permissions to 'Everyone' in the folder the service lies within, and adding a script mapping of *.svn to aspnet_isapi.dll.

Anybody know what I might be missing?

Thanks!

EDIT: Added a bounty of everything I have. It seems as though putting this question on SO gets the 'This should be on...' birds out, even though Server Fault is where questions go to die.

eskerber
  • 121

1 Answers1

5

<%windir%>Microsoft.NET/Framework/v3.0/Windows Communication Foundation/ServiceModelReg.exe -i

...then

<%windir%>Microsoft.NET/Framework/v2.0.50727/aspnet_regiis -i -enable

This mapped the proper isapi dll's to the *svc extension, among other things.

Bless Microsoft...

eskerber
  • 121