ERP Management Agent Configuration Tool-error occurred while connecting to ERP server

Hello! I am in a big company who use ILM 2007 which is connected to a SAP system. Yesterday when trying to connect with balancing string (suggested by Microsoft ) we get this error. What could be the best solution to fix this and connect successful? Thanks.

ERP Management Agent Configuration Tool – [SAP/R3]
Application error occurred.
An error occurred while connecting to ERP server.
Max. length for ID/Value exceeded “è…’
Close
Detail >>
