web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

SDT - User getting a DBO privilege error when trying to use SDT in GP 2010

(0) ShareShare
ReportReport
Posted on by 55

I'm trying to figure out how to fix an issue with a user that is getting an error trying to use SDT.  The error says: You must logged on as a user with DBO privileges to access this feature.  I'm not seeing anything unusual with their id in SQL or with the security settings within GP as the user has everything that other users who can us it have in their security settings.

*This post is locked for comments

I have the same question (0)
  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,069 Most Valuable Professional on at
    RE: SDT - User getting a DBO privilege error when trying to use SDT in GP 2010

    Hi Don

    Advanced Mode windows in the Support Debugging Tool require the user to have system administrator (sysadmin) or Database Owner (dbo) rights at the SQL Level.

    This is independent of the application level security in Microsoft Dynamics GP.

    Try using 'sa' or DYNSA or a user with similar elevated rights.

    This level of security is required as the Advanced Mode features allow for scripting and/or viewing data.

    David

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: SDT - User getting a DBO privilege error when trying to use SDT in GP 2010

    I ran into this same warning message. I need to use SDT while the user is logged in, because that's when the bug happens that i'm trying to troubleshoot. You can simply grant sysadmin access to this user while you're troubleshooting, and then remove it after. 

    --Grant the user the sysadmin role so you can use SDT features while that user is logged in
    EXEC master..sp_addsrvrolemember @loginame = N'<username>', @rolename = N'sysadmin'

    --Remove sysadmin access after you're done
    EXEC master..sp_dropsrvrolemember @loginame = N'<username>', @rolename = N'sysadmin'

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans