Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee 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'

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,945 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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans