BackupForRoute - Error Saving in SMSGW.INI

BackupForRoute - Error Saving in SMSGW.INI SearchSearch
Author Message
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 84
Registered: 04-2011
Posted on Thursday, February 18, 2016 - 10:50 am:   

Hi

We are on 2014.06.30.
We configured 2 SMPP lines as Route1 and ROute2.
We setup manually BackupForRoute=Route1 under SMPP section of Route1 in SMSGW.INI and tested it successfully.

We notice that when we update the SMPP parameter on Route2, the entry for BackupForRoute is not saved and configuration changes.

Mathew
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5570
Registered: 08-2008
Posted on Thursday, February 18, 2016 - 03:23 pm:   

Hi Mathew,

I'm not able to recreate this problem in current versions.

I downgraded to 2014.06.30, and also could not recreate the problem.

Does it make a difference if you exit the NowSMS configuration utility before manually updating SMSGW.INI? Then restart the config utility.

That shouldn't be necessary, but I'm wondering if it might.

--
Des
NowSMS Support
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 86
Registered: 04-2011
Posted on Friday, February 19, 2016 - 09:38 am:   

Des,
I shall try this and get back to you.
Mathew
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 89
Registered: 04-2011
Posted on Wednesday, February 24, 2016 - 06:46 am:   

Des,

NowSMS is installed on a 2012R2 Win server.

We are making the changes using the "NowSMS configuration Utility" on the SMPP paramteres.

We noticed that as soon as we save the configuration on the screen, and save it, the configuration of BackupForRoute is removed in "SMSGW.INI" file (i.e. not saved) irrespective of NowSMS running or not.

Mathew.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5579
Registered: 08-2008
Posted on Wednesday, February 24, 2016 - 04:09 pm:   

Hi Mathew,

I'm still unable to recreate this problem.

I have an SMPP connection with a BackupForRoute setting.

I use the NowSMS configuration utility to change a setting (enable or disable async mode) and save it.

BackupForRoute is still set in SMSGW.INI.

I'm guessing that you are encountering a rights issue of some kind.

Try this...

Add BackupForRoute, save

Start NowSMS config and exit.

Is BackupForRoute gone? If it is, try running your text editor with admin privileges before making the update. Also try running NowSMS in admin mode.

Under some scenarios, directory security in Windows can interfere and the editor or NowSMS get redirected in attempts to save SMSGW.INI, and instead of saving to the system directory, a ghost copy gets saved to:

\Users\UserName\AppData\Local\VirtualStore\

(AppData is a hidden directory.)

The NowSMS configuration utility will delete ghost copies at startup, so check for these copies after saving with your editor, and after updating with NowSMS.

--
Des
NowSMS Support
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 90
Registered: 04-2011
Posted on Thursday, February 25, 2016 - 10:08 am:   

Des,

While validating your response, we noticed that this happens when the SMPP port is changed.

Mathew
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5582
Registered: 08-2008
Posted on Thursday, February 25, 2016 - 05:30 pm:   

Hi Mathew,

That would explain it. I can recreate that problem.

We will fix that in the next update.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5584
Registered: 08-2008
Posted on Friday, February 26, 2016 - 03:52 am:   

Hi Mathew,

Changing the server address or port number of an SMPP SMSC would cause custom settings for that connection to be removed (applies only to settings that can only be added by manually editing SMSGW.INI).

We have fixed this issue in the 2016.02.23 build at http://www.nowsms.com/download/nowsms20160223.zip

Note that this version has a redesigned web interface. If you have customized any web templates, they will be saved in an html.old folder. Those templates can be copied from html.old back to html if you wish to continue using the older templates.

--
Des
NowSMS Support