An exception occurred while executing a transact-sql statement or batch
<p>I keep getting the error message:</p>

<blockquote>
  <p>an exception occurred while executing a transact-sql statement or batch</p>
</blockquote>

<p>when trying to do anything in SQL Server Management Studio 2016. </p>

<p>This occurs when I try to create or edit a login, when I try to create a new database, basically when I do anything.</p>

<p>I tried the solution given in <a href="https://stackoverflow.com/questions/9185142/sql-server-2008-r2-express-permissions-cannot-create-database-or-modify-users">SQL Server 2008 R2 Express permissions -- cannot create database or modify users</a> but I can't edit the Startup Parameters specified in step 6.</p>

<p>Can anyone explain what the issue is and how to solve it? </p>