I am attempting to run the WCF Test Client (from VS2010) on my Win2008R2 server. I enter the correct service url for my http service endpoint and get the following error:
Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata.
Error: Cannot load reference assembly 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_18.104.22.168__b77a5c561934e089\System.Data.dll' Cannot load file C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_22.214.171.124__b77a5c561934e089\System.Data.dll
as an Assembly. Check the FusionLogs for more Information. Could not load file or assembly 'file:///C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_126.96.36.199__b77a5c561934e089\System.Data.dll' or one of its dependencies. This assembly
is built by a runtime newer than the currently loaded runtime and cannot be loaded.
My service is hosted in IIS 7.5 WAS / .NET 4.0 (http binding).
Note , I had to manually copy the Wcf Test Client and svcutil from my workstation up to my Windows 2008 server. Anyone else run into this error?
View Complete Post