Tags: | Categories: Blog Posted by admin on 2/2/2010 10:49 AM | Comments (0)

I got many questions and emails from people about my previous post about problems running windows communication foundation .svc in Windows 7 upgrade

Looks like many systems after you install .NET 3.0 the system does not register the SVC services, I have seen that in Windows XP normally and of course upgraded versions of Windows 7. If you get an error 500 the first thing to do is to enable the service for debug

Enabling debug on the svc Web Service, open the web.config and change the

<serviceDebug includeExceptionDetailInFaults="false" /> to

<serviceDebug includeExceptionDetailInFaults="true" />


If the problem is that IIS does not understand the svc extension, do not add it in the mimetype, follow the steps below:

Registering the SVC service run the ServiceModelReg –i on the C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation directory.

The output should be this:

C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>service
modelreg -i
Microsoft(R) Windows Communication Foundation Installation Utility
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152]
Copyright (c) Microsoft Corporation.  All rights reserved.

Installing: Machine.config Section Groups and Handlers

Installing: System.Web Build Provider

Installing: System.Web Compilation Assemblies

Installing: HTTP Handlers

Installing: HTTP Modules

Installing: Web Host Script Mappings

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



<extendedProtectionPolicy policyEnforcement="Never" />


Hope this helps


blog comments powered by Disqus