When I right click on Eval.svc
within Visual Studio 2012 and view in browser, I get the following -
The type \'EvalServiceLibary.Eval\',
I changed the output path of the service. it should be inside bin
folder of the service project. Once I put the output path back to bin
, it worked.
In my case I did a "Convert to application" to the wrong folder on iis. My application was set in a subfolder of where it should have been.
I had this error when I had the current build configuration in Visual Studio set to something other than Debug.
Turns out that the Eval.svc.cs needed its namespace changed to EvalServiceLibary, rather than EvalServiceSite.
I also had same problem. Purposely my build output path was "..\bin" and it works for me when I set the build output path as "\bin".
Faced this exact issue. The problem resolved when i changed the Service="Namespace.ServiceName" tag in the Markup (right click xxxx.svc and select View Markup in visual studio) to match the namespace i used for my xxxx.svc.cs file