No Datasources returned from aaApi_SelectDataSourceDataBufferByServer2 at site

I am using aaApi_SelectDataSourceDataBufferByServer2 to get a list of the datasources on a particular server.  I wrote a sample console application to test this api.  

I have two offices - lets call them ONSITE, and REMOTE,  the REMOTE office can access datasources via ProjectWise Explorer application but when calling the console app using the aaApi_SelectDataSourceDataBufferByServer2, no datasources are returned.  They are returned when the console application is run ONSITE.  

I have since installed ProjectWise on a server at the REMOTE location and this does return a list of data sources for this REMOTE server, yet none for ONSITE still.  Are there network or permissions that are required to access the datasources through the api?

Mandi