Sep 15, 2010

Grant SQL user access for programs

Users must have sufficient access rights or roles on the SQL server to connect to the database and access the database files and procedures as stored in the SQL server.  This is applicable to all programs using a SQL server for the data, like Toolman and Status.

Installing Status and Toolman applications for the first time on a server machine, will grant the SQL user sufficient access to the database.  It is however necessary to allow other users access to the database.  This can be done from inside the program from the SQL connect window.

There are two different possibilities here, users can log on with Windows Authentication, where the program will use the access asigned to the “BUILTIN\Users” or specific users where Windows Authentication is not used.

SQL01From the waterfall menu select the SQL Connect window, connect to the server and select Save on the catalog selection.  The Manage Access button should be available if you have sufficient access to grant access to others.

Select the “Manage Access” button.  The window that will open shows all you access rights and has two options to grant rights to other users.

 

SQL02

Selecting the top “Grant” button, will allow all “BUILTIN\Users” access to the selected catalog or database.  This will therefore work in a domain or environment where users will connect through Windows Authentication.

Alternatively, it is possible to create users and assign the applicable rights to this new user to access the database.  Note that some SQL server requires a strong password, otherwise this step might fail.

Once access is granted to other users, there should be no problems for them to connect and use the applicable database from the program.


Users experienced in SQL can use the Management Studio application to set this access.  Assign the database owner role to users.

SQLms01

Grant application user access

Users must have sufficient access rights or roles on the SQL server to connect to the database and access the database files and procedures as stored in the SQL server.  This is applicable to all programs using a SQL server for the data, like Toolman and Status.

Installing Status and Toolman applications for the first time on a server machine, will grant the SQL user sufficient access to the database.  It is however necessary to allow other users access to the database.  This can be done from inside the program from the SQL connect window.

There are two different possibilities here, users can log on with Windows Authentication, where the program will use the access asigned to the “BUILTIN\Users” or specific users where Windows Authentication is not used.

SQL01From the waterfall menu select the SQL Connect window, connect to the server and select Save on the catalog selection.  The Manage Access button should be available if you have sufficient access to grant access to others.

Select the “Manage Access” button.  The window that will open shows all you access rights and has two options to grant rights to other users.

 

SQL02

Selecting the top “Grant” button, will allow all “BUILTIN\Users” access to the selected catalog or database.  This will therefore work in a domain or environment where users will connect through Windows Authentication.

Alternatively, it is possible to create users and assign the applicable rights to this new user to access the database.  Note that some SQL server requires a strong password, otherwise this step might fail.

Once access is granted to other users, there should be no problems for them to connect and use the applicable database from the program.


Users experienced in SQL can use the Management Studio application to set this access.  Assign the database owner role to users.

SQLms01

Sep 14, 2010

Installing Toolmanager software

Our toolmanager program is designed for the aviation industry to keep track of tools.  Tools can be issued to staff, jobs or sent for calibration.  Various reports assist users to keep track of tool movement.  For more information about the program, please link to our Toolmanager web site.

This article follows a step by step guide for fist time installations.  Please contact us from the link on the web site to arrange for the FTP details to download the evaluation program.   This installation assumes that users have a SQL server 2008 Express or better installed on the network.  The first installation must be done from the server machine to attach the database to the server.

Once the installation program (ToolSetup.exe) is downloaded, it is recommended that you copy this to a directory on the server machine where all users can access the exe for the first installation as well as for future upgrades.  This directory is remembered as a default location for future installations.

Run ToolSetup.exe

Scrn01

Select all options for a first installation, provided that you are on the SQL server machine where the empty table structure can be installed.

Scrn02
Note on the install summary the default paths where all the files will be installed.  The Toolman.exe will be installed in the default Program Files directory.  As this is a server machine, an empty database will be installed in the directory c:\ProgramData\Avdata\SQL  This is done to allow the program to attach this database to SQL.

Now run the program TM.exe

First time users will automatically be taken to the SQL connection window.  At this stage the SQL server must be running and you must have sufficient access to the server.  The preferred method to connect is by means of Windows authentication, but any SQL power user can be use to attach the database.

TM01

TM02This window opens with the default values, but can be changed for each installation.  Select the “Open” button to test for a successful connection.  Once connected, the Catalog section will be available.  The “Create” button should be available if you have sufficient rightsa and if the installation section had the “Server” install option checked. Click on “Create” to attach the dabase as installed earlier.  A successful installtion should produce the screen below.  Note the important last line: “Database found in SQL server”.  If this is not shown, something went wrong and the database did could not be attached.TM03

Now click “Save” in the Catalog section to store this information for future connections.  You will notice that the ODBC connection will automatically be created.  Make sure that the connection method, ie user and password or windows authentication is correct.  Select the “Test/Save” buttoTM04n. 

You can now exit from this window and the Toolmanager application should be configured for use on this machine.

 


On subsequent installations on pc’s linking to this server, follow the same steps, without selection of the server installation during installation.  Once you have connected to the SQL server, the “Create” button will not be available, but the drop down list will have the catalog adbTools which can be selected before the “Save” button is selected.