by SuiteCRM

The Ultimate Outlook Plugin Has Arrived - In response to user requests, SuiteCRM have created the ultimate Outlook plugin which is maintained by SuiteCRM developers. Our plugin supports Outlook 2010 upwards and includes two way synchronisation with CRM, Calender, Calls, Meeting, Tasks and Email Archiving.

Free 30 day trial
Try it Now

#2096 - Can't get Trial to Work - Getting "Key is Required" even though key is provided

Closed Bug? created by jim.kramer 2 months ago

LOG:

SuiteCRM Outlook Add-In v3.0.20.0 in Outlook version 14.0.0.7227
Auto-archiving: off

Logging level: Error

2019-07-15 12:07:49,353 | VSTA_Main | ERROR | Failed while loading the settings form
System.NullReferenceException: Object reference not set to an instance of an object.
at SuiteCRMAddIn.Properties.Settings.get_ShowExceptions()
at SuiteCRMAddIn.Dialogs.SettingsDialog.LoadSettings()
at SuiteCRMAddIn.Dialogs.SettingsDialog.frmSettings_Load(Object sender, EventArgs e)
Data:System.Collections.ListDictionaryInternal
HResult:-2147467261
2019-07-15 12:08:13,983 | Background | ERROR | Failed to connect to licence server because ProtocolError
System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at SuiteCRMAddIn.Helpers.LicenceValidationHelper.Validate()
Data:System.Collections.ListDictionaryInternal
HResult:-2146233079
2019-07-15 12:08:13,985 | Background | ERROR | Licence server responded "Key is required."
2019-07-15 12:08:33,367 | Background | ERROR | Failed while loading the settings form
System.NullReferenceException: Object reference not set to an instance of an object.
at SuiteCRMAddIn.Properties.Settings.get_ShowExceptions()
at SuiteCRMAddIn.Dialogs.SettingsDialog.LoadSettings()
at SuiteCRMAddIn.Dialogs.SettingsDialog.frmSettings_Load(Object sender, EventArgs e)
Data:System.Collections.ListDictionaryInternal
HResult:-2147467261

  1. jim.kramer member avatar

    jim.kramer

    2 months ago

    also getting this error:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
    at SuiteCRMAddIn.Properties.Settings.get_ShowExceptions()
    at SuiteCRMAddIn.BusinessLogic.ErrorHandler.Handle(String contextMessage, Exception error, Boolean notify)
    at SuiteCRMAddIn.Dialogs.SettingsDialog.frmSettings_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

    Microsoft.VisualStudio.Tools.Office.Runtime
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.60301.0

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.dll

    Microsoft.VisualStudio.Tools.Applications.Hosting
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.60301.0

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Hosting/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Hosting.dll

    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

    Microsoft.VisualStudio.Tools.Applications.Runtime
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.60301.0

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.dll

    System.Deployment
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll

    System.Security
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

    Microsoft.VisualStudio.Tools.Applications.ServerDocument
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.60301.0

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll

    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    System.Xml.Linq
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

    Microsoft.Office.Tools
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.60301.0

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.dll

    Microsoft.Office.Tools.Outlook.Implementation
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.60301.0

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Outlook.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Outlook.Implementation.dll

    Microsoft.Office.Tools.Common.Implementation
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.60301.0

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.Implementation.dll

    Microsoft.Office.Tools.Common
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.60301.0

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.dll

    Microsoft.Office.Tools.Outlook
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.60301.0

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Outlook/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Outlook.dll

    SuiteCRMAddIn
        Assembly Version: 3.0.20.0
        Win32 Version: 3.0.1

        CodeBase: file:///C:/Program%20Files%20(x86)/SuiteCRMAddIn/SuiteCRMAddIn.DLL

    Microsoft.Office.Tools.Outlook.v4.0.Utilities
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.30319.1

        CodeBase: file:///C:/Program%20Files%20(x86)/SuiteCRMAddIn/Microsoft.Office.Tools.Outlook.v4.0.Utilities.DLL

    Microsoft.Office.Tools.Common.v4.0.Utilities
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.30319.1

        CodeBase: file:///C:/Program%20Files%20(x86)/SuiteCRMAddIn/Microsoft.Office.Tools.Common.v4.0.Utilities.DLL

    NGettext
        Assembly Version: 0.6.1.0
        Win32 Version: 0.6.1.0

        CodeBase: file:///C:/Program%20Files%20(x86)/SuiteCRMAddIn/NGettext.DLL

    SuiteCRMClient
        Assembly Version: 3.0.19.178
        Win32 Version: 1.0.0.0

        CodeBase: file:///C:/Program%20Files%20(x86)/SuiteCRMAddIn/SuiteCRMClient.DLL

    log4net
        Assembly Version: 2.0.8.0
        Win32 Version: 2.0.8.0

        CodeBase: file:///C:/Program%20Files%20(x86)/SuiteCRMAddIn/log4net.DLL

    stdole
        Assembly Version: 7.0.3300.0
        Win32 Version: 7.00.9466

        CodeBase: file:///C:/WINDOWS/assembly/GAC/stdole/7.0.3300.0__b03f5f7f11d50a3a/stdole.dll

    Newtonsoft.Json
        Assembly Version: 12.0.0.0
        Win32 Version: 12.0.2.23222

        CodeBase: file:///C:/Program%20Files%20(x86)/SuiteCRMAddIn/Newtonsoft.Json.DLL

    System.Web
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

    CustomMarshalers
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.3761.0 built by: NET48REL1

        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.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:


        <system.windows.forms jitDebugging="true" />

    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.

  2. suitecrm member avatar

    SuiteCRM Provider Affiliate

    2 months ago

    Hi there,
    Could you please try the following below which may help you resolve the issues you are describing,

    Open Outlook and leave it without interaction for 30 seconds to a minute. If you see the SuiteCRM tab in the header click on it and go to settings. Enter your details and hit test credentials, hit save and try to manual archive to ensure that everything is accepted.

    If this does not have any effect could you please ensure that you have upgraded to the newest version of the plug-in and if this issue continues if possible could you please send your Outlook DEBUG logs (logs set at DEBUG level) while replicating the issue to our support email address outlook[at]salesagility[dot]com referencing this Ticket #[2096]. If you could also include what PHP version the CRM is run on, that would be much appreciated and will help us investigate this issue further.

    SuiteCRM Outlook Plugin Team

  3. jim.kramer member avatar

    jim.kramer

    2 months ago

    I can't help but notice that in the release notes you say "Upgraded v4.6.1 to v4.6.2" - which I can assume is the .NET version. Microsoft is on .NET v4.8 (v4.6.2 is from August 2016). Is there a reason why you aren't using the latest .NET version? If you look at the error - the very first thing it says is "Object reference not set to an instance of an object." - this indicates a LIBRARY issue to me. Is there a chance that the fact you are testing on 4.6.2, and I am running on 4.8 is the issue? BTW - I tested on 4.7.2 on another machine and got the same results.

    Regarding your reply:

    I cannot set the logging level to DEBUG because the application is crashing before you can hit SAVE, then restart. In order to change the logging level you need to restart Outlook. The logs above (although set to ERROR, seem to indicate there is an issue). I also ran this plugin from Visual Studio 2019 in debug mode and got similar results.

    Suite CRM Version 7.11.5
    Outlook Plug-In Version: 3.0.20
    Environment name and version: MySQL, PHP 7.3.5
    Suite CRM Operating System and version: Windows Server 2012 R2 & IIS v8.5.9600.16384
    Workstation O/S: Windows 10 (1809)
    Outlook 2016 (Version 1906)

    • suitecrm member avatar

      SuiteCRM Provider Affiliate

      2 months ago

      Hi Jim,

      The plugin current utilities v4.6.2 of .Net to continue to be backwards compatible with clients on older versions. We will be looking at moving to a more recent version of .Net in the future. If you would like I can raise this as an idea on our suggestions board to be looked into when the time comes?

      In regards to the issues you are experencing we are current investigating and it would be of assistance if you would be able to send us the file called user.config found in C:\User//AppData\Local\Microsoft_Corporation\\
      (Please make sure to remove your CRM URL, any Passwords and any other confidential information) to outlook[at]salesagility[dot]com

      SuiteCRM Outlook Plugin Team

  4. jim.kramer member avatar

    jim.kramer

    2 months ago

    UPDATE

    I was able to get further along by editing the SuiteCRMAddIn.dll.config file manually. I added the pertinent config info into the file, and now at least it does not crash in a continual loop. HOWEVER - clicking the "SAVE" button in the app still causes an exception:

    new-error.JPG

    I think there may be some kind of permissions issue - but I am not positive. Windows 10 no longer allows editing files inside the Program Files folders as an attempt to prevent malicious software from writing there. I attempted to open the permissions, but I'm not sure it helped.

  5. suitecrm member avatar

    SuiteCRM Provider Affiliate

    2 months ago

    Hi Jim,

    Apologies I missed your last message, thank you for attaching your debug logs,

    I will take a look at them now, there's no longer a need for providing the user.config.

    SuiteCRM Outlook Plugin Team

  6. jim.kramer member avatar

    jim.kramer

    2 months ago

    progress update?

  7. jim.kramer member avatar

    jim.kramer

    2 months ago

    TRIAL CANCELLED.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...