I've got a WCF Service hosted in IIS 6/7. I tried different things with the .svc file, but I can't get it to work. I always get a FileNotFoundException "Could not load file or assembly 'X.Y.Z' or one of its depencies. The system cannot find the file specified."
The assembly is in the bin folder, not in the GAC. But X.Y.Z is the namespace and classname, so the server is looking for the wrong assembly filename. The Assembly Load Trace confirms, that it's looking for an X.Y.Z.DLL in various places, but that namespace and classname ... X.Y.DLL would be the assembly.
I tried the svc, Visual Studio 2010 generated and I modified it to contain only the fully qualified name
<%@ ServiceHost Service="X.Y.Z, X.Y, Version=1.0.2.0, Culture=neutral, PublicKeyToken=xxxxx" %>