Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

Exception has been thrown by the target of an invocation

Posted on by 2,988

4010.png

Hi Experts,

When i am clicking anywhere or  changing module this error i am facing i installed this system today as demo from different domain. Check the below event Viewer error as well.

Log Name: Application
Source: Dynamics Server 01
Date: 3/9/2021 6:36:45 AM
Event ID: 110
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: Server.Local.com
Description:
Object Server 01: System.IO.FileNotFoundException: Could not load file or assembly 'Dynamics.Ax.Application' or one of its dependencies. The system cannot find the file specified.
File name: 'Dynamics.Ax.Application'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at Microsoft.Dynamics.Ax.MSIL.BatchILMethods..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Event Xml:
<Event xmlns="">schemas.microsoft.com/.../event">
<System>
<Provider Name="Dynamics Server 01" />
<EventID Qualifiers="0">110</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2021-03-09T14:36:45.000000000Z" />
<EventRecordID>261583</EventRecordID>
<Channel>Application</Channel>
<Computer>Server.Local.com</Computer>
<Security />
</System>
<EventData>
<Data>Object Server 01: </Data>
<Data>System.IO.FileNotFoundException: Could not load file or assembly 'Dynamics.Ax.Application' or one of its dependencies. The system cannot find the file specified.
File name: 'Dynamics.Ax.Application'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at Microsoft.Dynamics.Ax.MSIL.BatchILMethods..cctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
</Data>
</EventData>
</Event>

  • Martin Dráb Profile Picture
    Martin Dráb 225,610 Super User on at
    RE: Exception has been thrown by the target of an invocation

    How exactly did you install the environment? It seeems you didn't do it correctly. Maybe you simply forgot to complete the intitialization checklist (especially compilation), but we can only guess without more information from you.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,995 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,610 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans