Update SQLconnection.js

Changed the way that the connectionstring is build. It now uses GetRegistryString(_TSTORE_SVR_CFG_REC)