Sodium: Türkiye'nin Programlama Dili
  • Sodium Home Page
  • Getting Started
    • Examples
      • Hello World Example
      • Datalist & Select Element Usage
  • Installation & Configuration
  • Frequently Asked Questions
  • How to
    • How to: use Recordset variable and to_json function for populating a tree node
    • How to: get selected tree node id
    • How to: create master detail relationship between data blocks
    • How to: use data list element for populating select elements
    • How to: define a lookup element for a select element
    • How to: use database sequence in data block element
  • Contributers
  • Roadmap
  • About Me
  • Version History
    • Change Log
    • Things To Do
    • Known Issues
  • LANGUAGE REFERENCE
    • Program Structure
      • Form File
      • Code Behind File
      • Controller File
    • Built-in Functions
      • Sodium Built-in Functions
        • Database Related Functions
          • commit
          • rollback
          • delete
          • create_postgresql_connection
          • create_oracle_connection
          • create_mysql_connection
          • get_database_type
          • get_database_name
          • run_sql_file
          • set_active_database_connection
        • REDIS Functions
          • create_redis_connection
          • close_redis_connection
          • (redis-variable-name).set
          • (redis-variable-name).get
          • (redis-variable-name).del
          • (redis-variable-name).ping
          • (redis-variable-name).incr
          • (redis-variable-name).incrBy
          • (redis-variable-name).decr
          • (redis-variable-name).decrBy
          • (redis-variable-name).strlen
          • (redis-variable-name).append
        • Other Functions
          • disable_column
          • enable_column
          • hide_block
          • hide_column
          • message
          • populate_datalist
          • prompt
          • refresh_block
          • show_block
          • show_column
          • show_page
          • populate_tree
          • to_json
          • refresh_tree_node
          • set_datablock_property
      • Built-in String Functions & Operands
        • instr
        • strlen
        • Concatanation Operator
        • replace
        • substr
        • The "sizeof" Operator
        • Like & Not Like Operators
      • File IO functions
      • Date/time Functions
    • Built-in Triggers
      • "item_modified" trigger
      • "connection_not_found" trigger
      • "page.access" trigger
      • "page_load" trigger
      • "post_query" trigger
      • "row_selected" trigger
      • "button_item_clicked" trigger
      • "pre_insert" Trigger
      • "pre_delete" Trigger
      • "pre_update" Trigger
      • "post_insert" Trigger
      • "post_delete" Trigger
      • "post_update" Trigger
      • "tree_node_expanded" Trigger
      • "tree_node_selected" Trigger
      • "user_session_end" trigger
    • TAGs
      • Data Block
        • Data Block: Form View Mode
        • Data Block: Grid View Mode
        • Data Block: Mix View Mode
      • Control Block
      • Data List
      • Tree Element
      • Table TAG
      • Inputs
        • Text Item
        • Radio Item
        • Select Item
        • Checkbox Item
        • Button Item
        • Image Item
        • Textarea Item
        • Magic Buttons
    • Native SQL support
    • Lexical Elements
      • Identifiers
      • Keywords
      • Constants
        • The Null Statement
        • String Constant
      • Operators
      • Separators
      • White Space
      • Variables
        • Variable Type: int
        • Variable Type: char
        • Variable Type: bool
        • Local variables
        • Page variables
        • Session variables
        • Predefined Variables
          • :Session.authenticated
          • :Session.user
          • :Session.Id
          • :Session.user
          • :Row.Id
      • Functions
        • Function Declarations
        • Calling Functions
        • Function Parameters
        • Recursive Functions
      • Statements
        • The "if" Statement
        • The while Statement
        • The do Statement
        • Code Blocks
        • The break Statement
        • The return Statement
      • Expressions And Operators
        • Expressions
        • Assignment Operators
        • Arithmetic Operators
        • Comparison Operators
        • Logical Operators
        • Function Calls as Expressions
        • Operator Precedence
        • Order of Evaluation
      • Escape Character
    • CSS Themes
    • Scopes
    • Connection
      • Active Database Connection
      • Connection Types
        • Database Connections
        • REDIS Connection
  • Development
    • IDE
    • Debugging
  • SODIUM DEVELOPMENT
    • Sodium Development Home Page
    • Getting Started
      • Sodium Architecture
      • Development Environment
        • Source Code
        • Applications Required
        • Compiling C Projects
        • Compiling NodeJs Project
        • Troubleshooting
Powered by GitBook
On this page
  • Installation Notes
  • Installation Steps
  • 1. Download and Install "Microsoft Visual C++ 2015 Redistributable Package (x64)" if not already installed. If you have already, skip this step.
  • 2. Download Sodium package
  • 3. If you are a developer, follow the instruction on Development page
  • Prerequisites
  • Troubleshooting

Was this helpful?

Installation & Configuration

PreviousDatalist & Select Element UsageNextFrequently Asked Questions

Last updated 4 years ago

Was this helpful?

Installation Notes

---

Installation Steps

1. Download and Install "Microsoft Visual C++ 2015 Redistributable Package (x64)" if not already installed. If you have already, skip this step.

Sodium is developed with C language. This package is needed to run C application.

2. Download Sodium package

Download package is nightly built versions of Sodium. Do not try it on live/production database and web servers.

Please report errors/problems you encounter to the following contact points:

Youtube playlist for installation (2 videos)

Prerequisites

Category

Software

Tested on

Operation System

MS Windows 64 Bit

Windows Server 2012 64Bit

Windows 10 64Bit

Windows 7 Professional 64Bit

Database Server

Oracle

PostgreSQL

MySql

(See Note No.1)

Oracle Database 18.4 Express Edition 64 Bit

PostgreSQL-12.2.1

MySql

Internet Browser

Mozilla Firefox

Google Chrome

Microsoft Internet Explorer Opera

Latest Versions

System Resource (Port)

​

Installation script installs Sodium on port 8089 by default.

If this port is used by another application, please find and open StartSodiumServer.bat file, modify port parameter and save it.

  1. For ORACLE: Check the path of the "oci.dll" file is exists in the system environment variable PATH. If not, please add. Setting character encoding to UTF8 on the web server is required for Oracle. Otherwise, characters read from database cannot be seen as expected on the client browser. Please set character encoding part of the NLS_LANG value to UTF8 on web server. (Ex: TURKISH_TURKEY.UTF8). For POSTGRESQL: Check the path of the "libpq.dll" file is exists in the system environment variable PATH. If not, please add.

    For MySql:

    Check the path of the "libmysql.dll" file is exists in the system environment variable PATH. If not, please add.

    Check the "bin" folder in the MySql installation directory is exists in the system environment variable PATH. If not, please add.

  2. Do not use space character in installation path. Use only ANSI characters in installation path.

Troubleshooting

If you see that dialog window below when you start SodiumServer.exe, click "Yes" since Sodium requires Administrator privilege.

If you need to change port number, find and open "StartSodiumServer.bat" file, find the http://*:8089/ text and modify the number.

If you get "HttpAddUrl failed with 183" message after you run SodiumServer.exe, this means the port number Sodium uses is already in use by another application or another copy of SodiumServer.exe. You can modify the content of "StartSodiumServer.bat" file to change Sodium port number.

If you get "SodiiumServer.exe <Url1> [Url2] ..." message after you run SodiumServer.exe, this means that you do not provide required command line parameters. Please have a look at the original "StartSodiumServer.bat" file content to learn usage of SodiumServer.exe. It is advised to run StartSodiumServer.bat file to run Sodium.

If SodiumServer.exe stop running, it may print out one of the well-known exit codes listed below;

  • Exit code 101: SodiumShared.dll nor found or not accessible.

    Possible Solutions:

    • Add SodiumShared.dll file path to environment path.

    • Check file permission settings.

  • Exit code 102: function is not found in SodiumShared.dll

    Solution: add SodiumShared.dll file path to environment path.

  • Exit code 103: MySql C client library couldn't initialized. Possible reasons;

    • libmysql.dll is not found or not accessible

    • One of the functions required to run Sodium is not found in libmysql.dll file.

    • MySql client library version is not compatible.

    Possible Solutions:

    • Add libmysql.dll file path to environment path.

    • Check file permission settings.

  • Exit code 104: SqlServer C client library couldn't initialized.

  • Exit code 105: SodiumApp.dll couldn't loaded.

  • Exit code 106: Function in SodiumApp.dll not found: ....

Developer E-Mail:

LinkedIn Profile Page:

3.

muradkarakas@gmail.com
http://tr.linkedin.com/in/muradkarakas
If you are a developer, follow the instruction on Development page
GitHub - muradkarakas/Sodium-Setup: Sodium is a new Domain-specific language (DSL) especially designed for creating/developing web based CRUD applications. It has been under development at the moment but ready to be evaluated by the developers.GitHub
Visual C++ Redistributable for Visual Studio 2015Microsoft Download Center
Logo
Logo