Hands on with the Microsoft Dynamics GP Fall 2020 Release: Install .NET prerequisite

Microsoft Dynamics GPThis post is part of the Hands on with the Microsoft Dynamics GP Fall 2020 Release series where I am hands on with the newly released Microsoft Dynamics GP Fall 2020 Release.

Before installing any of the Microsoft Dynamics GP components, you need to make sure the system requirements are met. On top of this there is also some prerequisites which need to be met before the Microsoft Dynamics GP client or other components can be installed.

Most of these prerequisites can be handled by installer process, there is one which cannot; this is the .NET Framework 3.5 feature which is installed using the Add Roles and Features Wizard available via Server Manager on Windows Server or using Turn Windows features on or off accessible via Program and Features on Windows.

If the PC or server you’re planning to install Microsoft Dynamics GP onto has an Internet connection, then the .NET can be installed simply by using the wizard. However, if, for whatever reason, you don’t have an Internet connection available, the install process isn’t quite that smooth.

However, for both server and PC you can do an offline install and I have blogged about this several years ago:

  • Offline install on Windows.
  • Offline install on Windows Server.
  • The above articles are for older versions of Windows Server and Windows, but the process is exactly the same on current versions.

    Click to show/hide the Hands on with the Microsoft Dynamics GP Fall 2020 Release Series Index

    Hands On with Microsoft Dynamics GP October 2019 Release: Microsoft Dynamics GP client prerequisites

    Microsoft Dynamics GPThis post is part of the series where I am going hands on with the new version of Microsoft Dynamics GP.

    Before installing any of the Microsoft Dynamics GP components, you need to make sure the system requirements are met. On top of this there is also some prerequisites which need to be met before the Microsoft Dynamics GP client or other components can be installed.

    Most of these prerequisites can be handled by installer process, there is one which cannot; this is the .NET Framework 3.5 feature which is installed using the Add Roles and Features Wizard available via Server Manager on Windows Server or using Turn Windows features on or off accessible via Program and Features on Windows.

    If the PC or server you’re planning to install Microsoft Dynamics GP onto has an Internet connection, then the .NET can be installed simply by using the wizard. However, if, for whatever reason, you don’t have an Internet connection available, the install process isn’t quite that smooth.

    However, for both server and PC you can do an offline install and I have blogged about this several years ago:

    The above articles are for older versions of Windows Server and Windows, but the process is exactly the same on current versions.

    Hands On With MDGP 2018 RTM: Installing the .NET Prerequisite

    Microsoft Dynamics GPMicrosoft Dynamics GP 2018 RTM has now been released. In this series of posts, I will be stepping through the installation of Microsoft Dynamics GP and additional products and then will move on to taking a look at the new functionality which has been introduced.

    The series index for this series of posts is here and will automatically update as posts go live.

    Before Microsoft Dynamics GP 2018 RTM, or any of the related additional products, can be installed there is one prerequisite which cannot be handled by the installer process. This is the .NET Framework 3.5 feature which is installed using the Add Roles and Features Wizard available via Server Manager on Windows Server or using Turn Windows features on or off accessible via Program and Features on Windows.

    If the PC or server you’re planning to install Microsoft Dynamics GP 2018 RTM onto has an Internet connection, then the .NET can be installed simply by using the wizard. However, if, for whatever reason, you don’t have an Internet connection available, the install process isn’t quite that smooth.

    On both server and PC you can do an offline install and I have blogged about this previously:

    1. Offline install on Windows.
    2. Offline install on Windows Server.

    Both of the above posts were for previous versions of Windows, but both are still relevant for the later versions.

    Click to show/hide the Hands On With MDGP 2018 RTM Series Index

    .NET 4.6 Installation Error When Installing Microsoft Dynamics GP 2016 R2 Prerequisites

    Microsoft Dynamics GPOne of the prerequisites of Microsoft Dynamics GP 2016 R2 is .NET 4.6. However, occasionally when installing it, the Microsoft Dynamics GP 2016 Bootstrapper Setup will throw an error showing that the .NET Framework installation failed:

    .NET installation error

    Microsoft Dynamics GP 2016 Bootstrapper Setup

    An error occurred while installing system components for Microsoft Dynamics GP 2016 Bootstrapper. Setup cannot continue until all system components have been installed.

    The problem is that neither this error message nor the error log it directs you to contains information as to the cause of the error.

    Continue reading “.NET 4.6 Installation Error When Installing Microsoft Dynamics GP 2016 R2 Prerequisites”

    wfDeployClrAssemblies Error When Deploying The System Database

    Microsoft Dynamics GPThis post is a slight diversion from my Hands On With Microsoft Dynamics GP 2016 R1 series, but I am posting it as it came up while I was deploying the system database.

    Towards the end of the deployment an error occurred while the wfDeployClrAssemblies was being executed (actually there were three error messages produced):

    Microsoft Dynamics GP Utilities: The following SQL Statement produced an error: EXEC wfDeployClrAssemblies

    Microsoft Dynamics GP Utilities

    The following SQL Statement produced an error:
    EXEC wfDeployClrAssemblies

    Continue reading “wfDeployClrAssemblies Error When Deploying The System Database”

    Registering dotNET DLLs

    WindowsIn the past when I have needed to manually register DLLs they have been C++ or VB ones which are registered using the regsrver command.

    A recent project for a client was done using C# which requires the assembly to be registered using a different command. I am posting this here as a reminder to myself next time I need to do this.

    When you register the assembly, you may receive a warning message about registering unsigned assemblies using the /codebase switch which is intended only with signed assemblies. If you trust the origin of the assembly then you can safely register the assembly and ignore the warning.

    To register the .NET DLL, open a command prompt and type the following (the highlighted section is the name of the assembly being registered):

    %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe reportprinter.dll /codebase

    To unregister a .NET DLL type the following:

    %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe reportprinter.dll /unregister

    The highlighted section is the dll being registered or unregistered.

    Extending IIS With ASP.NET 4.5 On Windows Server 2008 R2

    Microsoft Dynamics GPThis is not something I need for the series of posts I am currently writing on the Microsoft Dynamics GP 2013 SP2 Web Client Scale-Out Deployment as my web server is running Windows Server 2012, but you may be performing the install on Windows Server 2008 R2 so I thought I would include this for completeness.

    If you are running Windows Server 2008 R2 then extending a website with ASP.NET 4.5 required the use of the command line.

    Open a Command Prompt with Administrative permissions and type the following and then hit Return:

    cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319\

    Then type the following and hit Return:

    aspnet_regiis —i

    Once the command has finished running, the website will be extended with ASP.NET 4.5 and be ready for the Session Control Service to be installed.

    Click to show/hide the Microsoft Dynamics GP 2013 SP2 Web Client Scale-Out Deployment Series Index

    Microsoft Dynamics GP 2013 SP2 Web Client Scale-Out Deployment: Extending IIS With ASP.NET 4.5 On Windows Server 2012

    Microsoft Dynamics GPExtending a website with ASP.NET 4.5 required the use of command line (which I will cover in the next post), but Windows Server 2012 requires this be done using the Server Manager (there may be a PowerShell command to do this, but, if so, I don’t know what it is).

    As I mentioned in a comment in the last post, if you’re installing IIS to configure the web client then you don’t need to treat this step separately, but merely add the step to the installation options for IIS.

    To extend IIS on Windows Server 2012, you need to open Server Manager and click Add roles and features:

    Server Manager

    Continue reading “Microsoft Dynamics GP 2013 SP2 Web Client Scale-Out Deployment: Extending IIS With ASP.NET 4.5 On Windows Server 2012”

    Microsoft Dynamics GP 2013 SP2 Web Client Scale-Out Deployment: Installing IIS On Session Control Server

    Microsoft Dynamics GPBefore we can start installing the Microsoft Dynamics GP 2013 SP2 Web Client, there are a few steps which need to be completed.

    The first of them is to install the IIS Web Server on the machine which will operate as the Session Control Server. In my case, this is the SC1 machine which is running Windows Server 2012. IIS is installed via Server Manager by clicking Add roles and features:

    Server Manager

    Continue reading “Microsoft Dynamics GP 2013 SP2 Web Client Scale-Out Deployment: Installing IIS On Session Control Server”

    Offline Install Of dotNET 3.5 On Windows 8

    Windows ServerIn the last post I took a look at how to install the .NET Framework 3.5 while the server is not connected to the Internet. At the same time I installed the server I was also installing a Windows 8 client as well and needed to install the .NET Framework 3.5 on it as well. Being client software I expected the process to work, if not better than, then the same as the one on Windows Server 2012.

    Continue reading “Offline Install Of dotNET 3.5 On Windows 8”