Search code examples
.netwcf.net-3.5

How to debug this WCF error?


When trying to run or reference the service project I get this error:

The type 'MyCompany.MyNameSpace.MyType', provided as the Service attribute value in the ServiceHost directive could not be found.

Where to look to fix this?

Edit: This is while running under the buit in vs 2008 cassini.


Solution

  • The error message means that the type specified as the Service type couldn't be loaded. Type loading problems can be debugged using the Fusion loader log. See here for a good explanation.