Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
Забыли пароль?
Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

Опции темы Поиск в этой теме Опции просмотра
Старый 28.10.2022, 06:12   #1  
Blog bot is offline
Blog bot
25,232 / 843 (79) +++++++
Регистрация: 28.10.2006
alirazazaidi: ‘Your program License doesn’t permit support maximum N non-demonstration companies’ Business Central

What ever you do, there is always way to learn something. Buddah once said ““When the student is ready, the teacher will appear”. So Google his here for my teacher.

So today I decided to learn Business Central. And here is my first blog post.

While making my notes, these punjabi folk song comes in my mind, Also note it down.

jangal bele phiran dhoondendi ( I am searching my beloved rivers and forest)

ranjhan mere sange ( My beloved is with me in my mind)

nee menda dil ranjhan rawal mange ( My heart seeking you)

ranjhan rawal mange ( beloved name folk name)

majhian aaiyan meda dhol na aaya ( My fellows come back but my beloved not)

heer kookay vich jhange ( Heer calling her beloved name in forest madly)

lets go back to point.

On demo instance of Business Central allows only two demo companies. I created many.

And after fourth Company. Business Central stop working.

Its quite different form F&O. I found following error message

‘Your program License doesn’t permit support maximum N non-demonstration companies’

So my first search how to remove companies with powerShell so here are my notes for my future self.

first step to import commendlet module that comes to Business Central. Location is some where in c:\program files folder \ Business central\ Service

After finding that path Following command works

Import-Module ‘C:\Program Files\Microsoft Dynamics 365 Business Central\180\Service\NavAdminTool.ps1’

So it imported what next

Now I need list of Companies in local instance. For getting companies “Get-NAVCompany” command.

PS C:\WINDOWS\system32> Get-NAVCompany

cmdlet Get-NAVCompany at command pipeline position 1 Supply values for the following parameters: ServerInstance: bc180

so I get following list. And interestingly there are a lot of … Name there. And I created them.

Now I have to delete the Companies step by Step. On local installation as demo. There is no need of Tenant So following statement works for me.

Remove-NAVCompany -ServerInstance BC180 -CompanyName ‘Test Bab Jii’

Remove-NAVCompany -ServerInstance BC180 -CompanyName ‘Test my company’

Remove-NAVCompany -ServerInstance BC180 -CompanyName ‘CRONUS Pakistan’

After deleting These companies. BC instance started to work fine.

Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
waldo: Microsoft Dynamics 365: 2020 release wave 2 plan Blog bot NAV: Blogs 0 14.07.2020 21:16
waldo: Microsoft Dynamics 365 Business Central – 2019 Spring Release Blog bot NAV: Blogs 0 02.04.2019 09:11
alexef: How to add a field to Item Card in Business Central Blog bot NAV: Blogs 0 22.05.2018 20:11
Ребят, кто может обучить программе CRM? Billimadison Обучение 3 14.09.2016 06:53
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Часовой пояс GMT +3, время: 03:33.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.