Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

System Message 6201 in Custom Report

Posted on by Microsoft Employee

I've created a report for a client using a custom view in the application database. I put the report and view on their server, ran Database Maintenance to sync ownership, and added it to Screens and Report Control Maintenance. One user (out of three) can run the report with no issues. The two other users receive the following error:

6201-error.png

I have checked the permissions on the view and they look fine. The only group that the good user belongs to that the others don't is the Administrators group; I temporarily added one of the faulting users to that group to test, but it made no difference. I've deleted the ODBC connection for both the app and system databases and recreated them by running another report.

Any suggestions? Thanks in advance.

Stuart Nottingham

  • Mark E Profile Picture
    Mark E 6,405 on at
    RE: System Message 6201 in Custom Report

    SL doesn't use the domain users explicitly in SQL, it uses the E8 user for select, and the MSDSL Application Role through the program.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: System Message 6201 in Custom Report

    No, I was actually referring to the SQL Management Studio. I had given the same permissions to those same "users" in the properties window of the view.

  • Mark E Profile Picture
    Mark E 6,405 on at
    RE: System Message 6201 in Custom Report

    By GUI I think you mean within SL.  That only controls the screens and reports the user can access, and not the SQL objects like procs & views.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: System Message 6201 in Custom Report

    OK this did the trick! Can you explain why this would work and granting the same rights/privileges through the GUI wouldn't?

    Thanks!

  • Verified answer
    Mark E Profile Picture
    Mark E 6,405 on at
    RE: System Message 6201 in Custom Report

    Did you grant the proper rights within the SQL view like this?

    GRANT SELECT ON [dbo].[YourView] TO [E8F575915A2E4897A517779C0DD7CE]

    GO

    GRANT CONTROL ON [dbo].[YourView] TO [MSDSL]

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans