question

babs2u2 avatar image
babs2u2 asked

SQL Authentication sysadmin login connects public does not

Created a User account with SQL Authentication on a SQL Server 2008 R2 Clustered Instance. When the user is added to sysadmin role, the account can login, otherwise when role is set to "public" and at the database set to db_owner the error is logged: Login failed for user 'xxxx'. Reason: Login-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: xx.xxx.xxx.7xxx] Advice will be greatly appreciated. Feel like I've tried every possible iteration and am concerned it has something to do with the cluster. This is a pre-prodcution installation.
sql-server-2008sqlauthentication
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

SirSQL avatar image
SirSQL answered
I'd recommend checking that you have UAC turned off. This has been known to cause problems (and this specific error message). Alternatively run SSMS as an administrator and then attempt the login.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

babs2u2 avatar image
babs2u2 answered
Finally found the right answer! It is the permissions granted to the Public Role. It was not allowed to connect.
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Usman Butt avatar image Usman Butt commented ·
If you have find it out yourself, then please mark your answer as accepted.
0 Likes 0 ·
JohnM avatar image
JohnM answered
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.