Official SuiteCRM Outlook Plugin v4 has arrived - Compatible with the Outlook Web App or Outlook 2016+ connected to Office365 or Exchange Server 2016. A complete rebuild developed and maintained by SuiteCRM developers, the addon retains previous functionality while massively improves performance, reliability and stability!
#822 - The property "ReceivedTime"
The plug in loaded and adds Contacts to the SUITECRM Group in Outlook, but NEVER adds Contacts to Outlook and never adds emails or Calendar appointments.
I have Outlook 64 Bit 2016 and WIndows 10 - SUITECRM Version 7.8.3 .
My log is full of these errors;
2017-12-11 14:32:50,448 | 7 | ERROR | EmailArchiving.ArchiveFolderItems; folder Extract:
System.Runtime.InteropServices.COMException (0x80020009): The property "ReceivedTime" is unknown.
at Microsoft.Office.Interop.Outlook._Items.Restrict(String Filter)
at SuiteCRMAddIn.BusinessLogic.EmailArchiving.ArchiveFolderItems(Folder objFolder, DateTime minReceivedDateTime)
Data:System.Collections.ListDictionaryInternal
HResult:-2147352567
2017-12-11 14:32:59,475 | 7 | ERROR | ArchiveableEmail.Save: failed to save 'Re: signature program' at all
System.NullReferenceException: Object reference not set to an instance of an object.
at SuiteCRMClient.Email.ArchiveableEmail.ConstructPacket(String htmlBody)
at SuiteCRMClient.Email.ArchiveableEmail.TrySave(List1 contactIds, String htmlBody, Exception[] fails)
at SuiteCRMClient.Email.ArchiveableEmail.Save(List
1 crmContactIds)
Data:System.Collections.ListDictionaryInternal
HResult:-2147467261
2017-12-11 14:33:00,708 | 7 | ERROR | ArchiveableEmail.Save: failed to save 'Re: issues' at all
System.NullReferenceException: Object reference not set to an instance of an object.
at SuiteCRMClient.Email.ArchiveableEmail.ConstructPacket(String htmlBody)
at SuiteCRMClient.Email.ArchiveableEmail.TrySave(List1 contactIds, String htmlBody, Exception[] fails)
at SuiteCRMClient.Email.ArchiveableEmail.Save(List
1 crmContactIds)
Data:System.Collections.ListDictionaryInternal
HResult:-2147467261
2017-12-11 14:33:05,969 | 7 | ERROR | EmailArchiving.ArchiveFolderItems; folder Rainmakers:
System.Runtime.InteropServices.COMException (0x80020009): The property "ReceivedTime" is unknown.
at Microsoft.Office.Interop.Outlook._Items.Restrict(String Filter)
at SuiteCRMAddIn.BusinessLogic.EmailArchiving.ArchiveFolderItems(Folder objFolder, DateTime minReceivedDateTime)
Data:System.Collections.ListDictionaryInternal
HResult:-2147352567
7 years ago
Is someone going to respond?
7 years ago
How do I get some help?
7 years ago
Hi protectedharbor,
Is it possible if we could ask you to 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 #822. If you could also include what PHP version you are running off of, that would be much appreciated and we'll investigate.
7 years ago
I uploaded the file into the ticket. The server is running PHP 5
7 years ago
SuiteCRM Outlook Add-In v3.0.9.0 in Outlook version 16.0.0.4627 Auto-archiving: off
Logging level: Error
2017-12-10 21:01:22,885 | 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.BusinessLogic.LicenceValidationHelper.Validate() Data:System.Collections.ListDictionaryInternal HResult:-2146233079 2017-12-10 21:01:22,901 | Background | ERROR | Licence server responded "Key is required." 2017-12-10 21:05:07,061 | Background | ERROR | Auto-archiving: off 2017-12-10 21:05:07,061 | Background | ERROR | Logging level: Error 2017-12-10 21:05:41,308 | VSTA_Main | ERROR | Auto-archiving: off 2017-12-10 21:05:41,308 | VSTA_Main | ERROR | Logging level: Error 2017-12-10 21:07:36,333 | VSTA_Main | ERROR | Auto-archiving: ON 2017-12-10 21:07:36,333 | VSTA_Main | ERROR | Logging level: Error 2017-12-10 21:08:26,548 | VSTA_Main | ERROR | Auto-archiving: ON 2017-12-10 21:08:26,548 | VSTA_Main | ERROR | Logging level: Error 2017-12-10 21:10:29,966 | VSTA_Main | ERROR | Auto-archiving: ON 2017-12-10 21:10:29,966 | VSTA_Main | ERROR | Logging level: Error 2017-12-10 21:10:44,538 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:44,632 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:45,804 | VSTA_Main | ERROR | Failed calling 'get_module_fields' Newtonsoft.Json.JsonSerializationException: Error setting value to 'link_fields_object' on 'SuiteCRMClient.RESTObjects.ModuleFields'. ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'. at Setlink_fields_object(Object , Object ) at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at SuiteCRMClient.CrmRestServer.DeserializeJson[T](String responseJson) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:45,898 | VSTA_Main | ERROR | Failed calling 'get_module_fields' Newtonsoft.Json.JsonSerializationException: Error setting value to 'link_fields_object' on 'SuiteCRMClient.RESTObjects.ModuleFields'. ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'. at Setlink_fields_object(Object , Object ) at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at SuiteCRMClient.CrmRestServer.DeserializeJson[T](String responseJson) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:45,929 | VSTA_Main | ERROR | Failed calling 'get_module_fields' System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at SuiteCRMClient.CrmRestServer.GetResponseString(HttpWebRequest request) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233079 2017-12-10 21:10:45,976 | VSTA_Main | ERROR | Failed calling 'get_module_fields' System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at SuiteCRMClient.CrmRestServer.GetResponseString(HttpWebRequest request) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233079 2017-12-10 21:10:46,023 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,069 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,116 | VSTA_Main | ERROR | Failed calling 'get_module_fields' System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at SuiteCRMClient.CrmRestServer.GetResponseString(HttpWebRequest request) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233079 2017-12-10 21:10:46,163 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,194 | VSTA_Main | ERROR | Failed calling 'get_module_fields' Newtonsoft.Json.JsonSerializationException: Error setting value to 'link_fields_object' on 'SuiteCRMClient.RESTObjects.ModuleFields'. ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'. at Setlink_fields_object(Object , Object ) at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at SuiteCRMClient.CrmRestServer.DeserializeJson[T](String responseJson) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,226 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,257 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,273 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,304 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,351 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,444 | VSTA_Main | ERROR | Failed calling 'get_module_fields' Newtonsoft.Json.JsonSerializationException: Error setting value to 'link_fields_object' on 'SuiteCRMClient.RESTObjects.ModuleFields'. ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'. at Setlink_fields_object(Object , Object ) at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at SuiteCRMClient.CrmRestServer.DeserializeJson[T](String responseJson) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,476 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,507 | VSTA_Main | ERROR | Failed calling 'get_module_fields' System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at SuiteCRMClient.CrmRestServer.GetResponseString(HttpWebRequest request) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233079 2017-12-10 21:10:46,538 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,632 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,663 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,694 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,710 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,741 | VSTA_Main | ERROR | Failed calling 'get_module_fields' System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at SuiteCRMClient.CrmRestServer.GetResponseString(HttpWebRequest request) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233079 2017-12-10 21:10:46,773 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,788 | VSTA_Main | ERROR | Failed calling 'get_module_fields' Newtonsoft.Json.JsonSerializationException: Error setting value to 'module_fields_object' on 'SuiteCRMClient.RESTObjects.ModuleFields'. ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'. at Setmodule_fields_object(Object , Object ) at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at SuiteCRMClient.CrmRestServer.DeserializeJson[T](String responseJson) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,835 | VSTA_Main | ERROR | Failed calling 'get_module_fields' Newtonsoft.Json.JsonSerializationException: Error setting value to 'link_fields_object' on 'SuiteCRMClient.RESTObjects.ModuleFields'. ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'. at Setlink_fields_object(Object , Object ) at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at SuiteCRMClient.CrmRestServer.DeserializeJson[T](String responseJson) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,882 | VSTA_Main | ERROR | Failed calling 'get_module_fields' Newtonsoft.Json.JsonSerializationException: Error setting value to 'link_fields_object' on 'SuiteCRMClient.RESTObjects.ModuleFields'. ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'. at Setlink_fields_object(Object , Object ) at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at SuiteCRMClient.CrmRestServer.DeserializeJson[T](String responseJson) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:46,976 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:47,132 | VSTA_Main | ERROR | Failed calling 'get_module_fields' Newtonsoft.Json.JsonSerializationException: Error setting value to 'link_fields_object' on 'SuiteCRMClient.RESTObjects.ModuleFields'. ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'. at Setlink_fields_object(Object , Object ) at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at SuiteCRMClient.CrmRestServer.DeserializeJson[T](String responseJson) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:47,382 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:47,398 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:47,460 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:47,585 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:47,804 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:47,835 | VSTA_Main | ERROR | Failed calling 'get_module_fields' Newtonsoft.Json.JsonSerializationException: Error setting value to 'link_fields_object' on 'SuiteCRMClient.RESTObjects.ModuleFields'. ---> System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JArray' to type 'Newtonsoft.Json.Linq.JObject'. at Setlink_fields_object(Object , Object ) at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.DynamicValueProvider.SetValue(Object target, Object value) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at SuiteCRMClient.CrmRestServer.DeserializeJson[T](String responseJson) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:10:47,913 | VSTA_Main | ERROR | Failed calling 'get_module_fields' SuiteCRMClient.Exceptions.CrmServerErrorException: CRM Server error 20 (Module Does Not Exist): This module is not available on this server at SuiteCRMClient.CrmRestServer.CheckForCrmError(String jsonResponse) at SuiteCRMClient.CrmRestServer.GetCrmResponse[T](String strMethod, Object objInput) Data:System.Collections.ListDictionaryInternal HResult:-2146233088 2017-12-10 21:11:07,783 | VSTA_Main | ERROR | Auto-archiving: ON 2017-12-10 21:11:07,783 | VSTA_Main | ERROR | Logging level: Error 2017-12-10 21:11:15,717 | 10 | ERROR | Failed calling 'set_note_attachment' System.Exception: Failed to parse JSON (Unexpected character encountered while parsing value: <. Path '', line 0, position 0.):
<
pre>/** * SugarWebServiceImplv4_1.php * * This class is an implementation class for all the web services. Version 4_1 adds limit/off support to the * get_relationships function. We also added the sync_get_modified_relationships function call from version * one to facilitate querying for related meetings/calls contacts/users records. * */ Class [ class SugarWebServiceImplv4_1 extends SugarWebServiceImplv4 ] {
Constants [0] { }
Static properties [1] { Property [ public static $helperObject ] }
Static methods [0] { }
Properties [0] { }
Methods [36] { /**
}
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, overwrites SugarWebServiceImplv3, prototype SugarWebServiceImpl> public method get_relationships ] {
/**
@return Array records that match search criteria */ Method [ public method get_modified_relationships ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv4, prototype SugarWebServiceImpl> public method login ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv4, prototype SugarWebServiceImpl> public method get_entries ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv4, prototype SugarWebServiceImpl> public method get_entry_list ] {
Parameters [10] { Parameter #0 [ $session ] Parameter #1 [ $module_name ] Parameter #2 [ $query ] Parameter #3 [ $order_by ] Parameter #4 [ $offset ] Parameter #5 [ $select_fields ] Parameter #6 [ $link_name_to_fields_array ] Parameter #7 [ $max_results ] Parameter #8 [ $deleted ] Parameter #9 [ $favorites = false ] } }
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv4, prototype SugarWebServiceImplv3> public method get_module_layout ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv4, prototype SugarWebServiceImpl> public method search_by_module ] {
/**
}
/**
}
Method [ <user, inherits SugarWebServiceImplv4> public method oauth_access ] {
/**
@param string $clientid */ Method [ <user, inherits SugarWebServiceImplv4> public method job_queue_next ] {
/**
@param string $clientid */ Method [ <user, inherits SugarWebServiceImplv4> public method job_queue_cycle ] {
/**
@param string $clientid */ Method [ <user, inherits SugarWebServiceImplv4> public method job_queue_run ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv3_1, prototype SugarWebServiceImpl> public method get_entry ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv3_1, prototype SugarWebServiceImplv3> public method get_module_fields_md5 ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv3_1, prototype SugarWebServiceImplv3> public method get_module_layout_md5 ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv3_1, prototype SugarWebServiceImpl> public method set_entry ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv3_1, prototype SugarWebServiceImpl> public method get_available_modules ] {
/**
@param bool $MD5 Should the results be md5d */ Method [ <user, inherits SugarWebServiceImplv3_1> public method get_language_definition ] {
/**
}
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv3> public method get_last_viewed ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImplv3> public method get_upcoming_activities ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImpl> public method set_relationship ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImpl> public method set_relationships ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImpl> public method set_entries ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImpl> public method logout ] {
/**
@exception 'SoapFault' -- The SOAP error, if any */ Method [ <user, inherits SugarWebServiceImpl> public method get_user_id ] {
/**
7 years ago
Any update?
7 years ago
Hi protectedharbor,
We've received your logs and I've raised this as a bug. We'll get back to you as soon as possible with further information. Thanks.
7 years ago
Hi @protectedharbour
This looks very much as though you have the wrong URL. The server is dumping raw PHP back at you when the client expects JSON, which shouldn't happen. You've undoubtedly got the server part right, because the PHP is SuiteCRM PHP, but the path part is wrong. The URL should look something like
http://the.name.of.your.server/SuiteCRM/
or
https://the.name.of.your.server/SuiteCRM/
There should be nothing (except a slash character) after SuiteCRM. Please could you check your URL, and if there is anything extra remove it. If that does not work, could you please email the URL of your server to the email address to which you sent your logs.
Cheers
Simon
7 years ago
Hi Simon, When I use http://IP/suitecrm/ I received the message "The remote server returned an error: (404) Not Found" But the plug in does authenticate when I remove the suitecrm from the URL.
7 years ago
Please
I'm pretty sure this is a configuration issue and it should be easy to fix.
7 years ago
I don't see an upload in your interface so use this link to access it; enter link description here
7 years ago
Hi protectedharbor,
Can we send you a debugging build to assist with troubleshooting your issue?
6 years ago
Please send a debug build.
6 years ago
I have had built out an entire new version of SUITECRM and and have the exact same problem. The /suitecrm/ at the end causes a failure. The plug in only authenticates when we use the URL of suite CRM. On this version we have applies a certificate, just in case HTTPS makes a difference.
6 years ago
Help. Help. It is been a long time and we still can't get the Outlook plug in to work.
6 years ago
Hi protectedharbor,
I've sent you a link to a debug build directly. Thanks.
5 years ago
Hi there,
This ticket will be closed over due to inactivity.
We recommend upgrading to the latest version of the plugin to ensure you stay up to date with new feature and bug releases, however, if you are still experiencing an issue in the latest version please open a new ticket with reference to this one.
SuiteCRM Outlook Plugin Team