April 26, 2017 at 2:12 pm
Kindest Regards, Rod Connect with me on LinkedIn.
April 26, 2017 at 3:06 pm
You can look at the error logs in Management Studio under:
Management \ SQL Server Logs \ Current
to see a more detailed message on why the login failed. Schema defaults probably have nothing to do with the login failure, that's more to do with where SQL Server looks first to resolve objects that are only referenced with a 1 part name instead of SchemaName.ObjectName
https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-user-transact-sql
April 27, 2017 at 10:13 am
not necessarily on the server itself, but you do have to be in the SYSADMIN or SECURITYADMIN role for the instance to see the logs in Management Studio
April 28, 2017 at 3:15 am
Or if you have administrator (or sufficient) permission on the server, you can open the actual text files that the logs are stored in (errorlog, errorlog.1 etc).
John
April 28, 2017 at 9:16 am
Chris Harshman - Thursday, April 27, 2017 10:13 AMnot necessarily on the server itself, but you do have to be in the SYSADMIN or SECURITYADMIN role for the instance to see the logs in Management Studio
Thank you Chris, I'm neither in the SYSADMIN nor SECURITYADMIN roles. Guess I'll have to get together with the DBA to resolve this issue.
Kindest Regards, Rod Connect with me on LinkedIn.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply