1 Reply Latest reply on Apr 13, 2018 10:37 AM by Robert Krisher

    Custom PXAdmin code not returning connection string

    Ron Ankeny

      I have a Designer custom that has been humming along for years using the following code to pull the connection string to pass in to other database access objects in the program.


      ConnectingString = _pxApp.Connection.ConnectionString; (where _pxApp is a reference to the IMMPxApplication object)


      It works fine on all boxes other than a new VM that was rolled out a few months ago. Running it through the debugger shows it is filtering out the Password=XXXX and changing the Persist Security Info= to False on this machine.


      I have been unsuccessful in finding why this is happening on this machine, but suspect it must be some sort of local variable.


      Has anyone seen anything similar to this, and if so, what did you do about it?