Farm Admin and SPShellAdmin accountm, Yet: Not allowed to access content dbs ?

Hi
What does it mean when a user who is added to the Farm Admin groups cannot do any action at all for any content database?
Exception calling "Functionl" with "1" argument(s): "Cannot open database "ContentDBName" requested by the login. The login failed. Login failed for user 'Domain\UserName'."
At C:\Users\UserNAme\desktop\t\PowerShellFileName.ps1:28 char:20
+    $SqlAdapter.Fill <<<< ($DataSet)  
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException
If you are interested to know what action or what PowerShell I was running, It is this one: http://etienne-sharepoint.blogspot.fi/2011/10/solving-missingsetupfile-errors-from.html
The exact same script works perfectly fine with my colleague who is a farm admin too - But why not me?
BTW, This is JUST an example. I get errors for EACH and EVERY action that I try to do to any of the content databases.
PS: Also, In the past I was totally unable to run any simple command with PowerShell at all not even Get-SPWeb. But my colleague who is a farm admin too: ran this command: Add-SPShellAdmin -UserName Domain\MyUserName
Once that command has been executed, I was able to run some PowerShell commands correctly.
Still, even though my account is added to SPShellAdmin - I still get PowerShell error and I cannot execute commands against the content dbs?
Could you please help me out with this ?

Alex,
In other words, What you are saying is: It is normal that a farm administrator's account gets error messages in PowerShell whenever s/he is trying to perform any action against any content database.
If that is a yes, then, what is the best way for running this script:
http://etienne-sharepoint.blogspot.fi/2011/10/solving-missingsetupfile-errors-from.html  
Is it safe and best practice to go ahead and play with my SQL and give myself db_owner, db_security, and db_owner ?

Similar Messages

Maybe you are looking for