Encrypted password could include a forward slash which causes a problem with parsing a URL


 Product(s):APM Implementation and Performance Management
 Version(s):6.2+
 Environment:N\A
 Area:N/A
 Subarea:N\A

Problem

When using an ODC connection, password encryption can sometimes generaate a forward slash ("/") as a character in the encrypted password. This will cause a connection failuure, due to an invalid OPC URI.

The log file will record a message that includes an exception similar to the following:

EXCEPTION OCCURRED:ArgumentException Invalid OPC uri  opcda://localhost:bentley@user.name:F/BjC5WxStldKqOJiPNVbA==/Matrikon.OPC.Simulation.1/f8582cf2-88fb-11d0-b850-00c0f0104305. Valid format should be opcda|opchda://domain@user:password/progid/clsid

Solution

Until this problem is fixed in a future release, do not specify a user and password in the ODC data source, in which case Windows authentication will be used by default.  

Ensure that the ODC service provider's Windows domain user has administrator privileges on the host computer, to allow access the data.

See Also

N/A.



 Original Author:Roy Suthers