server error has occurred in Web Client when user has compan

larrytolentinolarrytolentino Member Posts: 8
edited 2014-11-24 in NAV Three Tier
Dear Anyone,

I have configured Web Client in NAV 2013 on single database with multiple companies. When user with assigned COMPANY trying to access NAV thru web client an error will display in a browser "A server error has occurred, and the content cannot be displayed. Refresh the page or open a new browser window". User can only be successfully connected if no Company/ies assigned to his/her account in NAV. I am wondering if NAV Web Client will not work this way? Or is there any way to resolve this issue? Please advise as our client keep on complaining to us.


Thanks,
Larry

Comments

  • larrytolentinolarrytolentino Member Posts: 8
    Attached snapshot was the error logged on Event Viewer.
  • tinoruijstinoruijs Member Posts: 1,226
    So you need to add those rights for table 2000000072 - Profile.
    The needed rights are present in permission set BASIC.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • larrytolentinolarrytolentino Member Posts: 8
    Hi tinoruijs,

    Thanks for your reply. Actually, I have already added "BASIC" role along with "SUPER" but still an error keep on displaying. You may see attached snapshot for the user setup. FYI, error may only occur if there's a company assigned to user.


    Best Regards,
    Larry
  • tinoruijstinoruijs Member Posts: 1,226
    Hi tinoruijs,

    Thanks for your reply. Actually, I have already added "BASIC" role along with "SUPER" but still an error keep on displaying. You may see attached snapshot for the user setup. FYI, error may only occur if there's a company assigned to user.

    Maybe the BASIC-role needs to be without company? To read profile and other tables like that.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • larrytolentinolarrytolentino Member Posts: 8
    Hi tinoruijs,

    Again, thanks for your reply. I have managed to solved this issue by creating another role and add the three tables (User Personalization, User, Profile) in permissions with READ access. So, the user has 3 roles BASIC, SUPER (Data) and the newly created role, though, only Basic and Super (data) have company assigned. With this setup, user can now connect thru NAV web client without worrying to access the other companies if they will log in using windows client.
  • tinoruijstinoruijs Member Posts: 1,226
    Good solution to create a new role. Then you know exactly what's in it.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • GeoNAVGeoNAV Member Posts: 4
    I too had similar issue. In my case, web client worked for my user account. NAV Windows client worked for my as well as other user accounts. Only the Web client had this issue. Your idea was helpful as I created a permission set with read access to "profile, user personalization, and User" tables. Now other users are able to login into the webclient.
    Thank you!!
Sign In or Register to comment.