Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

IIS 7.5 WCF Webservice Error 404 .SVC file

$
0
0

Hello,

I've read several troubleshooting guides for error 404 with WCF webservice using svc extension, but I cannot get it working. I thank you in advance for any help with this. 

OS: Windows Server 2008 R2  64 Bit

IIS: 7.5.7600.16385

.Net Frameworks (Framework folder): 1.0,1.1,2.0,3.0,3.5,4.0

.Net Frameworks (Framework64 folder): 2.0,3.0,3.5,4.0

My web service was built in VS 2008 and targets .net 3.5. It's threadpool is set to v2.0 and Integrated pipeline.  

I also have VS 2008 installed on the same server as IIS. 

I've read that the issue is I need to register *.svc under MIME types. I've done the following to try to accomplish this:

I have run: C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe -i

and also C:\Windows\Microsoft.NET\Framework64\v3.0\Windows Communication Foundation\ServiceModelReg.exe -i

I also ran: ServiceModelReg.exe -ua from each.

Under add features in Server Manager, I installed WCF Activation under .Net 3.5.1. I added both HTTP and Non-Http. Now all are greyed out with checkmarks. 

I tried using dism to uninstall and reinstall .Net 3.5.1. 

I've run aspnet_regiis several times.

I have done these steps several times with IISResets and even reboots interlaced with them. 

Nothing is working to get  *.svc in MIME types. I added it manually, but the webservice doesn't work correctly when I do it. The webservice runs great from VS 2008 testing webserver. 

Thanks


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>