Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Granting dbo ASSEMBLY EXTERNAL_ACCESS permissions
Hi all,

I have tried to create an asembly with PERMISSION_SET = EXTERNAL_ACCESS
under SQL Server 2005 but i failed so far.
I also see the TRUSTWORTHY Property for the database as disabled and
can't enable it.
I know that the sysadmin has the full authority for all activities, but
i'm logged in as the system xp admin account and i tried to add a
server role to grant the dbo sysadmin rights, but i also failed.
Can some one please help?

Best regards


Report this thread to moderator Post Follow-up to this message
Old Post
coosa
12-30-05 06:23 PM


Re: Granting dbo ASSEMBLY EXTERNAL_ACCESS permissions
Try to set the property with TSQL:

ALTER DATABASE <Database> SET TRUSTWORTHY ON

dbo is a database role, yo you can grant the dbo sysadmin rights.
Sysadmin rights have to be granted on the server basis.


HTH, Jens Suessmeyer.


Report this thread to moderator Post Follow-up to this message
Old Post
Jens
12-31-05 01:23 AM


Re: Granting dbo ASSEMBLY EXTERNAL_ACCESS permissions
coosa (coosa76@gmail.com)  writes:
> I have tried to create an asembly with PERMISSION_SET = EXTERNAL_ACCESS
> under SQL Server 2005 but i failed so far.
> I also see the TRUSTWORTHY Property for the database as disabled and
> can't enable it.
> I know that the sysadmin has the full authority for all activities, but
> i'm logged in as the system xp admin account and i tried to add a
> server role to grant the dbo sysadmin rights, but i also failed.
> Can some one please help?

And the error messages are for the various things that fail are?

If you are logged into Windows with admin privs, and connect to SQL Server
with Windows authentication, you will have sysadmin rights in SQL Server,
unless you've removed  BUILTIN\Administrato
r


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx

Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
12-31-05 01:23 AM


Re: Granting dbo ASSEMBLY EXTERNAL_ACCESS permissions
no i didn't, but the script Jens worked finally


Report this thread to moderator Post Follow-up to this message
Old Post
coosa
12-31-05 12:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:04 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006