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

Announcements

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
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    Please try this powershell command:

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

  • Suggested answer
    YUN ZHU Profile Picture
    102,942 Super User 2026 Season 2 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 566 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 347 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 327 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans