Command Line Options

Print this Topic  Previous Topic Home Topic
You are here: No topics above this level

You can now run Globodox in maintenance mode

Commands
 

1./resetdbprofile /dbid=1
 
This option resets the specified DB’s profile
 
where, dbid is the ID of the DB.
To get a DB's ID go to Settings and select the DB List node, right-click the column header and check ID. The DB's ID will now be displayed.
2./resetuserdbprofile /dbid=1 /username=john
 
This options resets the specified user’s profile in the specified DB.
 
where, dbid is the ID of the DB.
and username is user name of the user whose profile you want to reset.
 
/resetuserdbprofile /dbid=1 /username=#all
 
This options resets all the users profile in the specified DB.
 
/resetuserdbprofile /dbid=1 /username=john,mike,mary
 
This options resets specified users profile in the specified DB.
3./resetuserprofile /dbid=1 /username=john
 
This options resets the user profile itself.

The 'dbid' is the ID of the DB. To get a DB's ID go to Settings --> System Settings --> DB List, then right-click the column header and check ID. The DB's ID will now be displayed. If it is not the MainDB, the dbid will be different.

4./resetcachedb /dbid=1
 
This options resets the cache of the specified DB.
5./ignoredefaultdb
 
This option ignores the default DB set by the user and opens the MainDB.
6./reconfiguremaindb
 
Sometimes the connection details for the MainDB can change (for e.g.  the SQL Server password is changed etc.). In that case you can update the connection details in Globodox via this command line option.
7./reconfigureaccessmaindb /dbname=MainDB.gxdb or /reconfiguremssqlmaindb /dbname=MainDB or /reconfiguremysqlmaindb /dbname=MainDB

 

As explained above the /reconfiguremaindb command is useful when connection details for the MainDB change. But that command does not let you change the type of the MainDB (i.e. if it is MS Access based, then you cannot change it to MS SQL Server). To change the DB Type of the MainDB, use the /reconfigureaccessmaindb or /reconfiguremssqlmaindb or /reconfiguremysqlmaindb commands for MS Access, MS SQL Server and MySQL respectively. These commands are only useful in special situations and should only be used in consultation with our support team.

 

 

Usage

 

You can use the commands in the following situation...

 
1. When you are navigating a Document type or a Stack Type and you get the following error  "The given key was not present in the dictionary". Then follow the steps below...

Close Globodox and Open the Command Line Window.
In the Command Line window type the following at the cursor...
 
       "C:\Program Files\Globodox Desktop\Globodox.exe" /resetdbprofile /dbid=1 /username=#all

       (Assuming that Globodox is installed in the default location.)

Now, hit the Enter key.
 

Globodox should now launch and you should not get any errors.

If you still get the same error then follow the steps below...

Close Globodox and Open the Command Line Window.
In the Command Line window type the following at the cursor...
 
       "C:\Program Files\Globodox Desktop\Globodox.exe" /resetdbprofile /dbid=1

       (Assuming that Globodox is installed in the default location.)

Now, hit the Enter key.

Globodox should now launch and you should not get error again.

 

2. When you have changed the location of the Main DB then you will have to use this command to reconfigure it otherwise you will get the following error "Failed to connect to the Main DB". To reconfigure the Main DB follow the steps below...

Close Globodox and Open the Command Line Window on the machine on which Globodox is installed in Server mode.
In the Command Line window type the following at the cursor...
 
       "C:\Program Files\Globodox Desktop\Globodox.exe" /reconfiguremaindb

       (Assuming that Globodox is installed in the default location.)

Now, hit the Enter key.

Globodox will now launch. If the Main DB is MS Access then specify the location where the Main DB is located. (It is usually located in the C:\Globodox Databases folder)
If your Main DB is MS SQL DB then a window will be launched, where you have to specify the MS SQL Server details. For more info, see Create a MS SQL based DB
If your Main DB is MySQL DB then a window will be launched, where you have to specify the MySQL Server details. For more info, see Create a MySQL based DB

After this is configured, you will get a message confirming that Command Line action has been completed. Globodox will now close.

Copy the multi-user.gdx file from the ITAZ\Globodox folder located on the machine on which Globodox is installed in the Server mode. Now paste the copied multi-user.gdx file in the ITAZ\Globodox folder on all the machines on which Globodox is installed.

 

3. When you want to reset the cache for a specified DB, follow the step below...

Close Globodox and Open the Command Line window on the machine on which Globodox is installed in Server mode.
In the Command Line window type the following at the cursor...
 
       "C:\Program Files\Globodox Desktop\Globodox.exe" /resetcachedb /dbid=1

       (Assuming that Globodox is installed in the default location.)

The 'dbid' is the ID of the DB. To get a DB's ID go to Settings --> System Settings --> DB List, then right-click the column header and check ID. The DB's ID will now be displayed. If it is not the MainDB, the dbid will be different.

Now, hit the Enter key.

Globodox will now launch and automatically reset the cache for the specific DB.

After this is configured, you will get a message confirming that Command Line action has been completed. Globodox will now close.

 

 


Page URL: http://www.itaz.com/globodox/help/index.htm?command_line_options.htm