2 Replies Latest reply on Oct 15, 2010 11:35 PM by mathique

    PI Web Services: OSIsoft.RtBaseline.DataAccess error

    mathique

      Hi,

       

       

       

      We are trying to use the PI Web Services 2010 to do tests on a platform.
      The platform is made of 3 machines:

      • 1 server where resides the PI Server (3.4) and AF (2),
      • 1 server where is installed the PI Web Services (W2K3 SP2, .Net 3.5 SP1, PI Web Services 2010),
      • 1 workstation used for development (VS 2008 SP1).

       

       

      On the workstation, we have added the Web Services reference to the “PIWebServiceSample_VB” VS 2008 project without problem.

       

      However, when we launch the code in debug mode, we get the following error when calling “MyResults = MyPIWebClient.GetPIArchiveData(MyRequestsArray) “:

       

       

       

      System.ServiceModel.FaultException(Of System.ServiceModel.ExceptionDetail)

       

      {"Could not load file or assembly 'OSIsoft.RtBaseline.DataAccess, Version=3.0.0.0, Culture=neutral, PublicKeyToken=53b77d1d3d7a979b' or one of its dependencies. The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))"}

       

       

       

      Is somebody gets the same error and knows how to solve it?

       

       

       

      Thanks,

       

       

       

      Mathieu