How to Run VCOM as Windows Service Using “AlwaysUp”

VCOM

VCOM is a Windows Application. It is NOT a Windows Service. VCOM will auto-run when user has logged into (entering user name and password) Windows. Otherwise, VCOM will not run.

To run VCOM as a Windows Service you can install a 3rd party software call “AlwaysUp”.

 

Install & Configure VCOM in AlwaysUp

  1. Download “AlwaysUp” here … or from 3rd party web site ….
  2. Install it.
  3. Add a new service.
  4. Point to the path of “vcom.exe”.
  5. Ensure the status is “Automatic”.
  6. To view the GUI of VCOM, click on “Switch to Session 0”.
    then it will display the VCOM GUI:
  7. To return to Windows desktop from VCOM GUI, click “Return now”.

 

Warning

  1. After VCOM service is started by AlwaysUp, sometimes, this message by “Interactive Services Detection” will appear “A program running on this computer is trying to display a message”:
    click on “View Message” to switch to VCOM GUI:

  2. To return to Windows desktop from VCOM GUI, click “Return now”.

 

 

How to Run VCOM as Windows Service

VCOM is a Windows Application. It is NOT a Windows Service. VCOM will auto-run when user has logged into (entering user name and password) Windows. Otherwise, VCOM will not run.

To run VCOM as a Windows Service you can manually create a Windows Service using these steps. However, take note that you cannot run VCOM as both Windows Application and Windows Service mode at the same time.

 

Configure VCOM as Windows Service

  1. First, IP address of MobiGATE and all 8 modems must be properly configured in VCOM application.
  2. Disable “auto-start” in VCOM application:
  3. Exit completely VCOM application.
  4. Download and install Windows Server 2003 Resource Kit Tools from Microsoft web page or from here …
  5. Only 2 executable files are needed:
    1. INSTSRV.exe
    2. SRVANY.exe
  6. After you have installed, run this command in command prompt:
    C:\Program Files\Windows Resource Kits\Tools>INSTSRV.exe VCOM "C:\Program Files\Windows Resource Kits\Tools\SRVANY.exe"
  7. Run Registry Editor (Regedt32.exe), check the registry to verify that the ImagePath value under “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VCOM” is set to
    "C:\Program Files\Windows Resource Kits\Tools\srvany.exe"
    
  8. Right click on VCOM, from the Edit menu, click “Add Key”. Type the following and click “OK”:
    Key Name: Parameters
    Class : <leave blank>
  9. Select the “Parameters” key, click “Add Value”. Type the following and click “OK”:
    Value Name: Application
    Data Type : REG_SZ
    String : C:\Program Files\VCOM\VCOM\vcom.exe
    
  10. Exit Registry Editor and goto “Computer Management > Services” configure “VCOM” to run “Automatic”
  11. After service is started, 8 COM ports are created:

Warning

  1. After VCOM service is started, then you start VCOM application, the application could NOT show all the 8 modems and 8 COM ports:
    VCOM application must be closed.
  2. If you want VCOM application to show all modems, then you must first stop the VCOM service, the only start VCOM application.
  3. VCOM cannot be running as both Windows Application and Windows Service mode at the same time.

 

Source: https://support.microsoft.com/en-my/help/137890/how-to-create-a-user-defined-service

VCOM Cannot Be Used to Change IP Address of MobiGATE

Conclusion:

  • VCOM Cannot Be Used to Change IP Address of MobiGATE. 
  • The “Configure” button in VCOM is NOT able to change the IP address.
Select the MobiGATE then click on the “Configure” in VCOM.
Enter the new IP address for the MobiGATE
new IP address and Submask Address been entered
When OK is clicked, no response except .ion
Did the IP address changed? No, IP address remains at 192.168.10.69
What happens if I fill all the fields provided? — NOTHING
After OK is pressed -NOTHING HAPPENS

 

 

 

How to Solve MobiGATE Fails to Initailize Despite Hyper Terminal Can Communicate with MobiGATE

Applies to: All SDK (SMS Engine, SMS API, STK API, etc.) that uses “MSComm32.ocx”

Cause: “MSComm32.ocx” did not install properly or the date of the file is incorrect. This occur when MOBITEK SMS Engine — Enterprise Edition has been reinstalled a few times on the same Windows machine.

Solution:

  1. Uninstall MOBITEK SMS Engine — Enterprise Edition.
  2. Unregister “MSComm32.ocx”:
    1. for Windows 64-bit, run “cmd” or “Command Prompt” as “administrator”, then type
      1. “cd %systemroot%\SysWoW64\
      2. regsvr32.exe /u mscomm32.ocx
    2. for Windows 32-bit, goto Start → Run → type “regsvr32 /u mscomm32.ocx”
  3. Delete “MSComm32.ocx”.
  4. Re-install SMS Engine — Enterprise Edition.

or

  1. Unregister the “MSComm32.ocx” and delete it
    1. for Windows 64-bit, run “cmd” or “Command Prompt” as “administrator”, then type:
      1. cd %systemroot%\SysWoW64\
      2. regsvr32 /u mscomm32.ocx
    2. for Windows 32-bit, goto Start Run  type “regsvr32 /u mscomm32.ocx
  2. Copy the new “MSComm32.ocx” and manually register it:
    1. for Windows 64-bit, run “cmd” or “Command Prompt” as “administrator”, then type:
      1. “cd %systemroot%\SysWoW64\
      2. regsvr32 mscomm32.ocx
    2. for Windows 32-bit, goto Start Run type “regsvr32 mscomm32.ocx

 

source: https://support.microsoft.com/en-my/help/249873/how-to-use-the-regsvr32-tool-and-troubleshoot-regsvr32-error-messages

How to Solve “Cannot open database (MS SQL Server) requested by login. The login failed”

Applies to:

  • MOBITEK SMS Engine version 5, 6, 7
  • SQL Server Express
  • Windows Server 2012 R2

Error Message: [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database “smseee6” requested by the login. The login failed.

Solution:

  1. Add “db_owner” to the user;
  2. If problem remains unsolved, then enable “TCP/IP” in SQL Server Configuration Manager.

How to Add “db_owner”

  1. select the user -> Properties
  2. goto “User Mapping”, select the database (smseee6) then check “db_owner”

Source: https://blog.sqlauthority.com/2009/08/20/sql-server-fix-error-cannot-open-database-requested-by-the-login-the-login-failed-login-failed-for-user-nt-authoritynetwork-service/

How to Enable “TCP/IP”

  1. Launch the SQL Server Configuration Manager. It should be in the Start -> Programs -> Microsoft SQL Server -> Configuration Tools, select “Protocols for SQLEXPRESS” and enabled “TCP/IP”.
  2. In “TCP/IP -> Properties”.
  3. In “TCP port”, ensure it is the correct port number 1433.
  4. Restart the servce.

Source: https://razorsql.com/docs/support_sqlserver_express.html

MobiGATE: Monitor Your SMS Gateway (Modems) on Your Desktop

MOBITEK MobiGATE is a SMS Gateway (also refer as a modem pool or SMS channel) used for SMS broadcast. It supports 8 modems (SIM cards) and more.

Problem arises when there are too many modems to monitor and no centralised tool to assist.

The solution is a tool called “Control Panel”.

“Green” when modem is running; “Orange” when modem is disabled

"Red" when modem is stopped or disconnected

We are pleased to announce version 2.5 of Control Panel.

 

Features of Control Panel version 2.5

  • GUI tool to edit the “config.xml”  (configuration file for MOBITEK SMS Engine — Enterprise Edition). Previously, notepad is being used to edit the configuration file;
  • supports SMS Engine — Enterprise Edition version 6 and 7 (version 5 is NOT supported);
  • to start and stop the service of SMS Engine;
  • to monitor up to 16 modems or more;
  • to view log file without the need of opening notepad

 

More Information

 

Download

Existing customer may write to customer support team for a copy of the installer.

 

Edit “config.xml” File Using Control Panel for SMS Engine — Enterprise Edition

Control Panel for SMS Engine — Enterprise Edition

We are pleased to announce the release of version 2.4.1 of Control Panel for SMS Engine — Enterprise Edition.

MOBITEK® SMS Engine — Enterprise Edition

The SMS Engine used by MOBITEK MobiGATE model SG-B series.

MOBITEK® MobiGATE SG-B-8 SMS Gateway

 

Benefits

  1. A GUI tool to edit the “config.xml”  (configuration file for MOBITEK SMS Engine — Enterprise Edition). Previously, notepad is being used to edit the configuration file.
  2. To monitor the status of each modem.

 

User’s Guide

Please refer to https://www.mobitek.my/main/software-development-kit/users-guide-for-control-panel-version-2-4-for-sms-engine-enterprise-edition/

 

Download

Existing customer Please download the installer from https://www.mobitek.my/main/software-development-kit/users-guide-for-control-panel-version-2-4-for-sms-engine-enterprise-edition/#DOWNLOAD_THE_INSTALLER