Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2253 closed enhancement (fixed)

Improve CT error messages for local problems

Reported by: Kurt Endress Owned by: Pete Cyr
Priority: medium Milestone:
Component: Curator Tool Version: CT 1.21.3.29
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

Improve CT error reporting for local PC issues like SQL server not running or insufficient privilege to SQL Server or the lookup cache directory.

Change History (5)

comment:1 by Mark J. Millard, 6 years ago

1) I revoked the folder permissions for the 'Users' group to the ProgramData directory to get one warning
---I got this message:

Error writing to file: C:\ProgramData\GRIN-Global\Curator Tool\AppSettings.txt.  Verify that you have access to that directory.


It was a real problem getting rights back. Might be easier to just revoke me, then after the test restore the rights back to just me.

2) I revoked the local SQL Server 'sysadmin' server-role for the 'BUILTIN\Users' group to get the second warning
--I got this message on doing this:

User access to the local SQL Server (Lookup Tables) database has been denied**

Maker sure the System Administrator who installed the Curator Tool has run the 'Make database available to all users' command from the Tools menu.

Full error message:
Cannot open database
"GRINGlobal_npgsweb_ars_grin_gov" requested by the login. The login failed.
Login failed for user 'windows user'


3) I shutdown the local SQL Server service to get the third warning message
--This is what I got when I shut down the service:

The local SQL Server database engine is not running (or is not properly installed)**

Make sure the SQL Server service is running (this can be checked in the Windows Task Manager)

comment:2 by Mark J. Millard, 6 years ago

Resolution: → fixed
Status: new → closed

comment:3 by Mark J. Millard, 6 years ago

I wanted to verify the help message when ProgramData Curator Tool directory does not have rights so I installed on a box without the CT as administrator and started the ct up and made sure it ran. Then I logged out as administrator and logged back in as non-administrative user. I started up the CT and got this message:

User access to the folder containing the Lookup Table Cache files has been denied**

Make sure the 'Users' group has been granted read and write permission to this parent folder:
"C:\ProgramData\GRIN-Global\Curator Tool\"
Full error message:
Access to the path 'C:\ProgramData\GRIN-Global\Curator Tool\GRINGlobal_npgsweb_ars_grin_gov\accession_inv_group_lookup_cache.dat' is denied.

comment:4 by Pete Cyr, 6 years ago

This was addressed in CT v1.21.3.29

comment:5 by Martin Reisinger, 6 years ago

Version: N/A → CT 1.21.3.29
Note: See TracTickets for help on using tickets.