Microsoft
Software
Hardware
Network
Question : SQL Server Error 'The select permission...' when trying to generate scripts
I am trying to export a SQL server 2008 database from a share hosting provider using generate script wizard. I have selected to script database data and have set script for server version to SQL server 2005 (required).
I am getting the error message:
TITLE: Microsoft.SqlServer.Smo
--------------------------
----
An exception occurred while executing a Transact-SQL statement.
For help, click:
http://go.microsoft.com/fw
link?ProdN
ame=Micros
oft+SQL+Se
rver&
ProdV
er=10.0.25
31.0+((Kat
mai_PCU_Ma
in).090329
-1045+)&
Li
nkId=20476
--------------------------
----
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Conne
ctionInfo)
--------------------------
----
The SELECT permission was denied on the object 'sql_expression_dependenci
es', database 'mssqlsystemresource', schema 'sys'.
The SELECT permission was denied on the object 'sql_expression_dependenci
es', database 'mssqlsystemresource', schema 'sys'.
The SELECT permission was denied on the object 'sql_expression_dependenci
es', database 'mssqlsystemresource', schema 'sys'.
The SELECT permission was denied on the object 'sql_expression_dependenci
es', database 'mssqlsystemresource', schema 'sys'.
The SELECT permission was denied on the object 'sql_expression_dependenci
es', database 'mssqlsystemresource', schema 'sys'.
The SELECT permission was denied on the object 'sql_expression_dependenci
es', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)
For help, click:
http://go.microsoft.com/fw
link?ProdN
ame=Micros
oft+SQL+Se
rver&
ProdV
er=10.00.1
600&EvtSrc
=MSSQLServ
er&EvtID=2
29&LinkId=
20476
--------------------------
----
BUTTONS:
OK
--------------------------
----
Any ideas?
Answer : SQL Server Error 'The select permission...' when trying to generate scripts
Since you are using Dynamic SQL, you will need SELECT permissions on the sql_expression_dependencie
s table.
Random Solutions
Infopath Multiple-Selection List Box: linked to access and list populated from Access table
sort subform query data entry
Moving an image along side the Mouse Pointer moves
microsoft access query criteria to retrieve specific records based on a reference number and part number
Convert Text field type to Date/Time
Error after converting Macro to VBA
Maintenance overlap for database
¿Why is Access 2007 not respecting the Windows Date format setting?
Toggle Buttons!!!
Recovery on Exchange db gives I/O error