In NAV 2013 or during upgrade we sometime forget to add our own windows login into the database.
1. Open SQL Server.
2. Navigate to your Database -> Tables -> Users.
4. Right Click & Edit Top 200 Rows.
5. Make a new entry there with your credential and enter your SID.
6. No need to even Start the Service.
7. Try Executing.