I am not sure what is going on but I keep getting the following exception when doing a query. \"Duplicate type name within an assembly.\" I have not been able to find a solu
Faced the same in my WCF webservice recently. Just clean your solution and rebuild it. This should fix the issue.
WCF webservice