SQL Prompt - Unable to show database objects
randyv
Posts: 166
Don't know what to do about this (i.e., how do I fix it?)
SQL Prompt cannot retrieve objects from <snip>. Possible reasons:
- insufficient memory to cache objects
- invalid permissions for this database
- connection error
- corrupted database
Details:
Server '<snipservername> is not configured for DATA ACCESS.
SQL Prompt cannot retrieve objects from <snip>. Possible reasons:
- insufficient memory to cache objects
- invalid permissions for this database
- connection error
- corrupted database
Details:
Server '<snipservername> is not configured for DATA ACCESS.
What we do in life echoes in eternity <><
Randy Volters
Randy Volters
Comments
I guess it is a permissions issue.
Can you kindly try following permissions for that database from this knowledgebase here ?
Please let us know if this fixes the issue.
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
But the error description is not the one I am encountering so I doubt it will work, but I'm willing to try it - one issue; I'm logging in as 'sa' - doesn't 'sa' have this permission by default?
Just makes no sense.
Randy Volters
I think you should try granting following rights:
1. GRANT VIEW DEFINITION TO [{username}]
2. GRANT VIEW SERVER STATE TO [{username}]
Please let us know if that helped.
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Can you try executing below query in context of MASTER database:
exec sp_serveroption 'SERVER NAME', 'data access', 'true'
Kindly let us know if this fixes the issue.
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Randy Volters
Thanks for the update.
Can you kindly let us know which of the solution provided by us solved the issue?
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com