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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to fix Could not open the " company. error

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    Please try this powershell command:

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

  • Suggested answer
    YUN ZHU Profile Picture
    99,084 Super User 2026 Season 1 on at

    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,946 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,177 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 555 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans