18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Database Interface<br />

Studio Database Gateway<br />

The Studio Database Gateway is a TCP/IP server that interacts with databases using the Microsoft .Net<br />

Framework. It can run on the same computer that is running the IWS project, or on a different computer. The<br />

Database Gateway Host in the Advanced Settings (see Database Configuration dialog) specifies whether the<br />

gateway will be running on the local computer or not. If you are using the local computer you should enter<br />

either localhost or 127.0.0.1 in the Host name. You do not need to worry about starting or stopping the<br />

gateway because it will be done automatically by IWS tasks. On the other hand, when running the gateway<br />

remotely, you need to start the gateway manually. To do so, copy the files StADOSvr.exe and StADOSvr.ini<br />

from the \BIN folder to the remote computer, and then execute the StADOSvr.exe.<br />

The gateway can be started multiple times for different TCP/IP port numbers. The default port number is<br />

3997, and it is changed by specifying the desired port number in the command prompt (e.g., StADOSvr<br />

1111 ). When running the StADOSvr, it will add the following icon to the system tray:<br />

When you right-click on the icon, the following shortcut menu is displayed:<br />

The Hide option controls whether the Studio Database Gateway window is displayed on the desktop. (The<br />

gateway software runs continuously after you launch it, regardless of whether the window is displayed.) If you<br />

disable the Hide option, then the window is displayed:<br />

Studio Database Gateway<br />

Any failure that occurs during operations with databases will be displayed both in this window and also in the<br />

LogWin window. The messages are reported by exceptions generated by the ADO.NET Provider. (Please refer to<br />

Database Troubleshooting for more information about error messages in the gateway module.)<br />

You can configure the output in this window by using the Log menu:<br />

• Show Log menu option: Shows the IWS Database Gateway log files.<br />

Page 488<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!