Related ProductsReadykey Pro Question How can I ensure that clients do not change certain features that require exclusive use of the SQL database for Readykey Pro? Answer Certain activities require that there are not any applications logged into the SQL database. These activities include running a database backup, archive, database setup, or forms designer. In some cases, a server has many clients logged into the database remotely. This makes it difficult to close all client connections. There is an easy way to work around this by running a few SQL commands. Login to SQL Management Studio Express. Expand the Databases folder and find AccessControl (for example, the Readykey Pro database). Right click on AccessControl and select New Query. In the query window, type: sp_who2 [Click EXECUTE]. Look for all SPID that have the login type of lenel. For each SPID number of login type lenel, type: kill (SPID) [Click EXECUTE]. IMPORTANT: Do not kill SPID for SQL Server, as this will kill the Management Studio connection. Run the required application (for example,Â Database Backup). This method does not prevent future connections to SQL Server. If an exclusive connection is required, the port SQL Server uses can be blocked by a firewall (for example, TCP port 1433). You should block ports with caution because it may also block local connections. A better solution would be to temporarily disable remote connections to SQL Server using SQL Server Configuration Manager.
View full article