SQL Server error code
SQL Server error 505
SQL Server raises error 505 at severity 16, which marks a problem with the query or data that you can correct.
The current user account was invoked with SETUSER or SP_SETAPPROLE. Changing databases is not allowed.
| Msg | 505 |
|---|---|
| Severity | 16 |
| Group | 0–999 |