cancel
Showing results for 
Search instead for 
Did you mean: 

RfcDestinationManager.UnregisterDestinationConfiguration(SAPSystemConnect) throws error randomly

Former Member
0 Kudos

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' .?

Accepted Solutions (0)

Answers (0)