Skip to Content
avatar image
Former Member

RfcDestinationManager.UnregisterDestinationConfiguration(SAPSystemConnect) throws error randomly

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers