Has anyone installed/configured GP 2018 Web Client on a Windows 2012 R2 Datacenter OS?
I am encountering the Index error when setting up the Web Components. I am in the form for configuring the Session Central Service. Clicking on any of the drop down objects or any of the text fields causes the error. At first I thought it was the version of GP , but I encoutner the same error trying to install GP 2015 web client. I hope this screen capture helps. It is a fresh install.
*This post is locked for comments
In IIS, have you gone into Bindings and bound this certificate to the IIS site that you're attempting to install Web Client onto, for port 443?
Type: https
IP Address: All Unassigned
Port: 443
Host Name: (leave blank)
'Require Server Name Indication' option > do not mark
SSL Certificate: (should show the friendly name of the certificate you're using)
In the one case I had with this exact same error, we couldn't bind the certificate to the IIS site because it was already bound to another IIS site, and stated as much when we attempted to bind it.
I did clear out the temp folders in case there was some conflict, but nope.
Here is the text from the details drop down.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Microsoft.Dynamics.GP.Deployment.UI.Controls.CertificatePanel.LoadCertificates()
at Microsoft.Dynamics.GPWebClient.UX.Dialogs.SessionCentralService.OnShown(EventArgs e)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Microsoft.Dynamics.GPWebComponents.UX
Assembly Version: 1.0.0.0
Win32 Version: 6.0.28.0
CodeBase: file:///C:/Users/dmeyer/AppData/Local/Temp/tmpAB83.tmp/Microsoft.Dynamics.GPWebComponents.UX.EXE
----------------------------------------
Microsoft.Dynamics.Deployment
Assembly Version: 3.10.0.0
Win32 Version: 3.10.1.13
CodeBase: file:///C:/Users/dmeyer/AppData/Local/Temp/tmpAB83.tmp/Microsoft.Dynamics.Deployment.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.Dynamics.Deployment.WindowsInstaller
Assembly Version: 3.10.0.0
Win32 Version: 3.10.1.13
CodeBase: file:///C:/Users/dmeyer/AppData/Local/Temp/tmpAB83.tmp/Microsoft.Dynamics.Deployment.WindowsInstaller.DLL
----------------------------------------
Microsoft.Deployment.WindowsInstaller
Assembly Version: 3.0.0.0
Win32 Version: 3.10.0.2026
CodeBase: file:///C:/Users/dmeyer/AppData/Local/Temp/tmpAB83.tmp/Microsoft.Deployment.WindowsInstaller.DLL
----------------------------------------
Microsoft.Dynamics.Deployment.UI.Forms
Assembly Version: 3.10.0.0
Win32 Version: 3.10.1.13
CodeBase: file:///C:/Users/dmeyer/AppData/Local/Temp/tmpAB83.tmp/Microsoft.Dynamics.Deployment.UI.Forms.DLL
----------------------------------------
Microsoft.Dynamics.Deployment.UI.Controls
Assembly Version: 3.10.0.0
Win32 Version: 3.10.1.13
CodeBase: file:///C:/Users/dmeyer/AppData/Local/Temp/tmpAB83.tmp/Microsoft.Dynamics.Deployment.UI.Controls.DLL
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.Dynamics.GP.Deployment
Assembly Version: 16.0.0.0
Win32 Version: 16.00.0305.000
CodeBase: file:///C:/Users/dmeyer/AppData/Local/Temp/tmpAB83.tmp/Microsoft.Dynamics.GP.Deployment.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Hey Derek, I don't know if you can see the inserted image in the original post. Below is the initial error dialog box. I could have clicked anywhere on that form and the error would have been triggered.
I don't have the actual text of the message immediately available but I am working on it. I will post it when I have it.
I don't set up the cert on that service either, I was just testing the application's ability to query the list of certificates.
It may be more an issue with IIS and/or the certificates, but I can't see clearly the error message. Can you copy the error message contents to this forum so I can read them clearly? That way I can search our case history.
Normally, we don't recommend adding the certificate to the Session Central Service nor the Session Service, but I'm thinking you'd see the same thing when you get to the Runtime Service, which requires the certificate to be linked to it?
Thanks
Hey Derek,
I created a self-signed cert with just the server name for the friendly name, as there already was a cert with the FDQN for the friendly name.
I ran the set up, entered my credentials for the SQL server instance (a separate server, using 'sa') and advanced to the next page of the form , selected the drop down list of certificates to use for the Session Central Service, and the application flashed the error message. I chose continue among the list of buttons on the error message dialog box, and tried to see the list again but the list is empty.
Hello Sean,
I was wondering if you're still having the same issue/error, or you found the resolution on this?
Thanks,
Thanks Derek,
I will take a closer look. I have my doubts however as the app crashes on the second screen after providing the server name and location for where the GPCONFIGURATION database will be located. Clicking anywhere on the form causes triggers the error. And at this portion of the setup, a certificate is optional. I will keep you posted. Strangers things have happened. : ))
The most common cause of this error, in regards to Web Client for Dynamics GP is that the certificate being used by Web Client/IIS does not have a 'friendly name', especially when using a self-signed certificate.
I know I also had a case with this error a couple years ago, it was being caused by the customer having port 443 on two different sites, which IIS didn't like, regardless of host names, certificates, etc.
Not having a 'friendly name' on the certificate is the most common we see though, so I would verify that first.
Thanks
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156