Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

How to fix Could not open the " company. error

Posted on by 130

Hey, I'm currently on On-premises version of Business Central, I two non-demo companies and one demo company. I didn't know I was only allowed to have more than two non-demo companies on the server, and created new company. When I tried to login in it gave following error (please refer to picture). How can I delete the company when I can't switch companies? 

pastedimage1660683811954v2.png_2D00_810x408.png

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 Super User 2024 Season 2 on at
    RE: How to fix Could not open the " company. error

    Hi, It looks like you have specified company in the permission set so that you cannot access companies other than this specified.

    pastedimage1660698266967v1.png

    I suggest you add a new user, then log in with the new user and modify the permissions of your current user.

    New-NAVServerUserPermissionSet:

    https://docs.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.management/new-navserveruserpermissionset?view=businesscentral-ps-20

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: How to fix Could not open the " company. error

    Please try this powershell command:

    docs.microsoft.com/.../remove-navcompany

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

Featured topics

Product updates

Dynamics 365 release plans