locked
getting an error when calling a dll that use wcf data services RRS feed

  • Question

  • Hello,

    I have a class library called LibraryA built with .NET framework version 4.6.1.  This library connects with WCF Data Service.  WCF Data Service uses entity framework to work with a database.  I have another class library, LibraryB which reference LibraryA to get data.  When I call for example this method from LibraryB, LibraryA.GetPatientData(...), I am getting this error.  Any ideas what I am missing here?

    Thank you

    Method not found: 'System.Data.Services.Client.QueryOperationResponse System.Data.Services.Client.DataServiceContext.LoadProperty(System.Object, System.String)'.

    Wednesday, June 6, 2018 5:48 PM

All replies

  • Nevermind, I got the solution.  I had to do the following to make it work.

    Remove all files from the following directory: 

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\


    • Edited by gsrakkar Thursday, June 7, 2018 7:28 PM
    • Proposed as answer by BonnieBMVP Saturday, June 9, 2018 4:50 PM
    Thursday, June 7, 2018 7:28 PM