---
title: "Error 5 occurred in module FAgreement.ditBuildActionGrid Error Description as follows: 190:Invalid procedure call or argument"
canonical: "https://servicedesk.maxgeo.com/space/LC/1263501381/Error%205%20occurred%20in%20module%20FAgreement.ditBuildActionGrid%20Error%20Description%20as%20follows%3A%20190%3AInvalid%20procedure%20call%20or%20argument"
format: markdown
---
<u>**Problem:**</u>

1. The above error was generated when accessing the "Actions" grid within an Agreement record.

<u>**Cause:**</u>

1. The user has insufficient SQL permissions, and therefore is unable to execute stored procedures.

<u>**Solution:**</u>

1. There are detailed instructions in the related article "[creating executable permissions in SQL](https://maxgeo.atlassian.net/wiki/spaces/LC/pages/1263566934)"

<u>**Additional Info:**</u>

- <u>*What is a 'stored procedure'?*</u>  It is a set of instructions that are triggered by a particular action - usually within the software.  For example, completing an Action.  Where these instructions are stored within the database, the user requires sufficient permissions to execute them.
- <u>*What wasn't it an issue in an earlier version of LeaseControl*</u>?  Older versions had limited functionality, therefore certain rights were required.  It may be interesting to note that this is only required where SQL permissions have been specifically restricted.