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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

automationObserver parameter

(0) ShareShare
ReportReport
Posted on by 237

Hi 

i migrate a database from Nav2009 to BC21.1, with success

But when i want to connect with web client, i can't because i have this error in event log :

Type: System.ArgumentNullException
Message: Value cannot be null. (Parameter 'automationObserver')
ParamName: automationObserver
Source: Microsoft.Dynamics.Nav.Client.WebCommon
HResult: -2147467261
StackTrace:
at Microsoft.Dynamics.Nav.Client.Web.AutomationHandlerObserverDecorator..ctor(LogicalControl logicalControl, IAutomationObserver automationObserver) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Automation\AutomationHandlerObserverDecorator.cs:line 28
.......

I try to uninstall my custom apps, but it's the same

What is this parameter ?

I have the same question (0)
  • Suggested answer
    Amit Profile Picture
    2,559 on at
  • Gwenael Riotteau Profile Picture
    237 on at

    Thank you for your response, but it don't deal with my issue.

    I known how to install BC OnPrem (i already install it a lot). The issue is about a migration from Nav2009/BC14

  • Gwenael Riotteau Profile Picture
    237 on at

    If someone have also this issue : it was because i did not import add-in

    I copy the table Add-in from a BC21 Cronus, and it was ok after

  • Verified answer
    Marco Mels Profile Picture
    on at

    Thank you for sharing final outcome.

  • Suggested answer
    BC21 Profile Picture
    10 on at

    Hello. The exact same thing is happening to me, and I don't know how to get the application to open. Can you please tell me how you got it? Thank you

  • Ramon C. Profile Picture
    99 on at

    Ciao, ho lo stesso problema, ma per importare il componente aggiuntivo mi devo collegare al client web ma non posso farlo proprio perchè ricevo errore.

    Come hai fatto senza aprire il client web? E quale componente aggiuntivo hai copiato?

    Grazie per la risposta.

  • Ramon C. Profile Picture
    99 on at

    Mi rispondo da solo avendo risolto il problema. Se non potete entrare nel client web, potete aggiornare i componenti aggiuntivi attraverso BC administration shell. Di seguito i comandi da lanciare:

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.BusinessChart' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'BusinessChart\Microsoft.Dynamics.Nav.Client.BusinessChart.zip')

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.FlowIntegration' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'FlowIntegration\Microsoft.Dynamics.Nav.Client.FlowIntegration.zip')

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.OAuthIntegration' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'OAuthIntegration\Microsoft.Dynamics.Nav.Client.OAuthIntegration.zip')

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.PageReady' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'PageReady\Microsoft.Dynamics.Nav.Client.PageReady.zip')

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.PowerBIManagement' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'PowerBIManagement\Microsoft.Dynamics.Nav.Client.PowerBIManagement.zip')

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.RoleCenterSelector' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'RoleCenterSelector\Microsoft.Dynamics.Nav.Client.RoleCenterSelector.zip')

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.SatisfactionSurvey' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'SatisfactionSurvey\Microsoft.Dynamics.Nav.Client.SatisfactionSurvey.zip')

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.SocialListening' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'SocialListening\Microsoft.Dynamics.Nav.Client.SocialListening.zip')

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.VideoPlayer' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'VideoPlayer\Microsoft.Dynamics.Nav.Client.VideoPlayer.zip')

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.WebPageViewer' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'WebPageViewer\Microsoft.Dynamics.Nav.Client.WebPageViewer.zip')

    Set-NAVAddIn -ServerInstance $NewBcServerInstance -AddinName 'Microsoft.Dynamics.Nav.Client.WelcomeWizard' -PublicKeyToken 31bf3856ad364e35 -ResourceFile ($AppName = Join-Path $AddinsFolder 'WelcomeWizard\Microsoft.Dynamics.Nav.Client.WelcomeWizard.zip')

    Trovate tutto però al punto 11 del processo di migrazione da BC 14 a BC21 (almeno io stavo facendo questo tipo di migrazione):

    learn.microsoft.com/.../upgrade-unmodified-application-v14-v21

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,468

#2
YUN ZHU Profile Picture

YUN ZHU 923 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans