XModPro

PostgreSQL

Rosil Belli Rosil Belli asked Apr 17, 2015
Active Apr 17 · Viewed 1770 times
<p>I have a page on my project that will show data from a remote PostgreSQL database.<br><br>I added a connection string like this:<br><add name="SATransfer" connectionstring="Driver={PostgreSQL UNICODE};Server=54.94.172.196;Port=5432;Database=production_transfer;Uid=qnrv4jreku;Pwd=Qrj2XQ7Xrtayeuq;"> </add> <p>add name="MyODBC" connectionString="Driver={PostgreSQL UNICODE}; Server=IPADDr;Port=5432; Database=productionDB; Uid=UUU; Pwd=PPP;"</p><p>But when I try to use it on XMOD Template setting&nbsp; <p>connectionstring='[[ConnectionString:MyODBC]]'</p><p>I get the error message:<br>Object reference not set to an instance of an object.</p><p>What am I missing?</p></p><p><add name="SATransfer" connectionstring="Driver={PostgreSQL UNICODE};Server=54.94.172.196;Port=5432;Database=production_transfer;Uid=qnrv4jreku;Pwd=Qrj2XQ7Xrtayeuq;"> </add></p>

1 Answer

Loading answers...