Skip to Content
0

RfcDestinationManager.UnregisterDestinationConfiguration(SAPSystemConnect) throws error randomly

Mar 18, 2017 at 02:09 PM

158

avatar image

Hi,

I use Dot net connector 3.0 for fetching the SAP systems availability but randomly i get the error as "cannot unregister the given destination configuration".

My Code:

------------------------------------------------------------------------------------------

if (RfcDestinationManager.IsDestinationConfigurationRegistered()) RfcDestinationManager.UnregisterDestinationConfiguration(sapcfg);

RfcDestinationManager.RegisterDestinationConfiguration(sapcfg);

-------------------------------------------------------------------------------------------

Do i have any possibility to deregister all destination configuration (if registered already) without mentioning the 'sapcfg' .?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers