p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   ASP.NET 3.5 Professionals (http://p2p.wrox.com/asp-net-3-5-professionals-352/)
-   -   map .svc file type to aspnet_isapi.dll (http://p2p.wrox.com/asp-net-3-5-professionals/71669-map-svc-file-type-aspnet_isapi-dll.html)

Bob Bedell November 30th, 2008 09:11 PM

map .svc file type to aspnet_isapi.dll
 
Can any one tell me how to map the Windows Communication Foundation .svc file type to the aspnet_isapi.dll on IIS 7 (Vista)? Evenything on google seems to address IIS 6.

I'm getting:

"The remote server returned an unexpected response: (405) Method Not Allowed" when trying to access a WCF service, and assume its an aspnet_isapi.dll issue. Place to start anyway.

Thanks,

Bob


Bob Bedell November 30th, 2008 10:51 PM

Finally found it!! There was no HTTP Handler set up for WCF services, on my insatallation of IIS 7, so:

1. Open a command prompt in Vista with administrative priviledges.

2. Do:

   C:\>cd c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation

   c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>ServiceModelReg -i

3. Then all your WCF and WAS Http Handlers are installed:

Installing: Machine.config Section Groups and Handlers

Installing: System.Web Build Provider

Installing: System.Web Compilation Assemblies

Installing: HTTP Handlers

Installing: HTTP Modules

Installing: ListenerAdapter node for protocol net.tcp

Installing: Protocol node for protocol net.tcp

Installing: TransportConfiguration node for protocol net.tcp

Installing: ListenerAdapter node for protocol net.pipe

Installing: Protocol node for protocol net.pipe

Installing: TransportConfiguration node for protocol net.pipe

Installing: ListenerAdapter node for protocol net.msmq

Installing: Protocol node for protocol net.msmq

Installing: TransportConfiguration node for protocol net.msmq

Installing: ListenerAdapter node for protocol msmq.formatname

Installing: Protocol node for protocol msmq.formatname

Installing: TransportConfiguration node for protocol msmq.formatname

Installing: HTTP Modules (WAS)

Installing: HTTP Handlers (WAS)


Good to go!

Bob





All times are GMT -4. The time now is 06:42 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.