Friday, February 1, 2019

8.1.3 Platform Update 23 Installation Issue - Dynamics 365 for Finance & Operations LBD

Hi all,

in the last days I tried to install the 8.1.3 Platform Update 23 version on my F&O LBD Environment but I raised some error.

Really thank you to Mohamed Zaki and Renaud Paquay for helping me to address the resolution.

AOS Application Error:

Application: AXBootstrapper.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: RunAsync failed due to an unhandled exception causing the host process to crash: System.Management.Automation.RuntimeException: Exception calling "GetTypes" with "0" argument(s): "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." ---> System.Management.Automation.MethodInvocationException: Exception calling "GetTypes" with "0" argument(s): "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)

Reason:

AxBootStrapper is trying to load the netstandard.dll assembly from the GAC.

Resolution:

You need to install the netstandard.dll to your GAC on all AOSs.
For each AOS, go through C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1\  or ..\NETFX 4.5.1 Tools\ and run the following CMD command:

gacutil.exe -i "DLL Path\netstandard.dll"

You can find the DLL to the Agent path \\....WP\EnvName\StandaloneSetup-xxxxxxx\Apps\AOS\AXServiceApp\AXSF\Code\bin\

something like:
gacutil -i ..\agent\wp\XXX\StandaloneSetup-207104\Apps\AOS\AXServiceApp\AXSF\Code\bin\netstandard.dll

I guess the hotfix coming soon!

Till soon!

3 comments:

emincas said...

Hi,
We installing for a customer the Dyn365FFO On-Premise version.
In customer infrastructure, already exists one ADFS Farm (v3.0 on Win2012Server) dedicated to manage login of O365 applications.

We must clear up some doubts:
1 - It is possible install a new ADFS farm completely separately from the existing ADFS? It exists a guide for this purpose?
2 - If we use the existings ADSF, are the steps 1,2,3 in the official guide below mandatory? it there some contraindication?

https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/deployment/setup-deploy-on-premises-pu12#configureadfs

thanks in advance
emiliano

Denis Macchinetti said...

Hi Emiliano,

yes, it's better to Install a new ADFS for F&O

You can use also the existing one, but take care and share the steps with your Infrastructure guy in order to avoid login issues with O365.

Denis

emincas said...

thanks Denis.
we install a new and dedicated ADFS Farm.

regards
emiliano