sandeep.narang

TimeOut error in FindElementsByPath

Discussion created by sandeep.narang on Sep 6, 2011
Latest reply on Mar 7, 2013 by ChewCheeLim
    Normal   0           false   false   false     EN-US   X-NONE   X-NONE                                                                                                                                                                                                                                                                                                                                                      

 

 

Hi Team,

 

We are getting a below error while using FindElementsByPath method.

 

AFElement searchRoot=Database.Elements[@"\\<server>\<database>\<rootElement>"];

 

if(searchRoot!=null)

 

      AFElement.FindElements(Database, searchRoot, "S*", AFSearchField.Name, true, AFSortField.Name, AFSortOrder.Descending, 100);

This request operation sent to net.tcp://sffrsssti001:5457/AFServer/Service did not receive a reply within the configured timeout (00:05:00).  The time allotted to this operation may have been a portion of a longer timeout.  This may be because the service is still processing the operation or because the service was unable to send a reply message.  Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.

 

Please assist us on it.

 


 

Thanks,

Outcomes