Hello,
I have a batch file that I use to start application from Win 7 client. It will connect to remote SQL Server and start application.
It looks like this
pushd \<server>\MITRE\SoftwareReleases\v23-lfhm
cmd /c start LaminarFlowHoodModule.exe
Note: at the location I have configuration file LaminarFlowHoodModule.config with the name of database, creds and etc. It does not state which driver to use. I assume that it is coded inside LaminarFlowHoodModule.exe
This is the section from LaminarFlowHoodModule.config
<!-- Database settings -->
<add key="DataSource" value="server" />
<add key="InitialCatalog" value="database" />
<add key="TrustedConnection" value="false" />
<!-- Username/password required if TrustedConnection is false -->
<add key="UserName" value="user" />
<add key="Password" value="password/>
Recently it stopped working and it failed to connect to database.
I installed latest SQL Server Native client driver and was able to create ODBC connection e.g. 'connection1' and then connect to database with no problem.
Hence, my question:
Could I create another batch file of modify existing one in order to force LaminarFlowHoodModule.exe to use ''connection1' ?
Thanks