Hi all,
I have created a class which I have to open through URL.
In my DEV environment I am successfully able to open it using the following format:
EnvironmentURL/?cmp=CMP&mi=SysClassRunner&cls=ControllerClassName
The problem is that I am unable to open it in UAT environment. I get the following 2 errors:
Microsoft.Dynamics.Ax.Xpp.ClrErrorException: FileLoadException ---> System.IO.FileLoadException: Could not load file or assembly 'Microsoft.ApplicationInsights, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Microsoft.Dynamics.Ax.Xpp.xApplication.traceBoostrapTime(String message, StringDictionary properties) at Application::traceBoostrapTime(Object , Object[] , Boolean& ) at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters) --- End of inner exception stack trace --- at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters) at Dynamics.AX.Application.SysClassRunnerHelper.`runMainMethod(SysClassRunnerState state) in xppSource://Source/ApplicationFoundation\AxClass_SysClassRunnerHelper.xpp:line 27 at Dynamics.AX.Application.SysClassRunnerHelper.runMainMethod(SysClassRunnerState state) at Dynamics.AX.Application.Forms.SysClassRunner.FormControl.timerControl.elapsed() in xppSource://Source/ApplicationFoundation\AxForm_SysClassRunner.xpp:line 52
and