Accelerator Troubleshoot: Difference between revisions

From Accelerator for SageCRM
No edit summary
No edit summary
 
(72 intermediate revisions by the same user not shown)
Line 1: Line 1:
IE
21 Nov 22


In IE if the toolbar is not enabled it will not appear. To enable the toolbar right click on the menu area and you should see the "Sage CRM Accelerator" option.
Uninstall the classic Outlook add-in


[[File:ieenable.png]]
Go to add/remove programs on the machine with Outlook


Select this and follow any on screen instructions to enable the toolbar.
Select the "CRM Together Outlook Add-on"


*If you have the option to Enable checked and the toolbar does not appear try a re-install (un-install then re-install). Windows updates and other 3rd party add ins can be affecting the toolbar.  
[[File:ac_uninstall_classic.png]]


** also check Group Policy Settings


Ref: https://technet.microsoft.com/en-us/library/dn454941.aspx
----
12 Feb 2022
 
Error code #5532
 
"Customized functionality in this application will not work" error when opening outlook the first time the add in is installed.  
To fix this you enable the appropriate ClickOnce Trust Prompts in Regedit.  


And internet options
Ref:
https://docs.microsoft.com/en-us/visualstudio/deployment/how-to-configure-the-clickonce-trust-prompt-behavior?view=vs-2022


[[File:internet_options.png]]
You can download a file to install these settings in your registry from here. This should only be done by an IT person who knows what they are doing.


[[File:internet_options1.png]]
  https://update.crmtogether.com/support/trust.reg


----
----
Outlook
26 Aug 2021
 
Outook Today is blank.


If the Accelerator is not appearing it could be down to the URL or user settings (username/password) not being correct. Update these via the IE toolbar.
Workaround
* Close Outlook.
* To open the Registry Editor, select Start > Run, then type regedit and click OK.
* In the left pane, expand the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
* Right-click on Outlook.exe and select modify.
* Select Decimal, then change the value to 10001.
* Select the Decimal value and enter 10001.
* Select OK, then close the Registry Editor.
* Restart Outlook.


You may need to re-enable the toolbar also. To do this click "File"->"Options". From the dialog select "Add-Ins" and click "Go".
Ref: https://support.microsoft.com/en-us/office/outlook-today-does-not-load-correctly-after-installing-the-grammarly-add-in-d646677f-2077-431d-9406-6e52f752e7a8


In the "COM Add In" dialog select the SageCRMOutlook option and ensure it is checked.
----


[[File:addin.png]]
User has no premissions to run the classic installer
 
Workaround:
* Close Outlook
* Turn off UAC
* When prompted to install for all users select NO
* Change the install path to be
 
    C:\Users\<USERNAME>\AppData\Roaming\CRM Together
* Turn on UAC
* Open Outlook


Click "Ok" and re-start Outlook


----
----


Saving a file via Accelerator throws an error
1 Oct 2019


System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentException: Path cannot be the empty string or all whitespace.
Microsoft update "KB4516061" may be causing IIS to crash (resolution is to uninstall this update)
  at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
  at SageCRMWSBase.SageCRMWSBaseService.folderCheck(String path)
  at SageCRMWS.SageCRMWSAccelerator.insertDocument(String EntityName, String EntityID, CRMDocumentClass dc)
This can be caused by using a UNC path in the system


E.G
----
\\CRMServer\Documents\Library\
10 Sept 2018


It must be a path mapped to a drive
Outlook Version 1808 (and later) on high res monitors is breaking Accelerator. Blank screens appear where the browser should be. This is down to a change Microsoft did around DPI resolution and switching between high and low res monitors.
E.G
D:\\Documents\Library\


To change the CRM library path in CRM log in as an administrator and go to
For now the resolution is to open Outlook and click


  Administration
File->Options
  Email and documents
  Documents & reports configuration


and edit the
General


  Physical root directory for mail merged documents
Select the "Optimize for compatibility" option


setting
Re-start outlook


This issue is caused by a change for "Office support for high definition displays"
[[File:outlook_options_dpi.png]]


----
----
Sage CRM 7.1a issue fix


Some reports came in of issues with Sage CRM 7.1a not allowing more than 15 characters in the new email.


The fix for this is to run the following SQL on the CRM database
28 May 2018 - updated this help to archive old issues and rare environment problems


    update custom_edits
These can now be found in
    set colp_datasize='255',
 
    colp_lookupwidth='255'
https://accelerator.crmtogether.com/index.php?title=Accelerator_Troubleshoot_archive
    where colp_colname='pers_emailaddress'


----
----
Line 109: Line 125:


[[File:disabled_items.png]]
[[File:disabled_items.png]]




----
----
Error 417
If you see an error when clicking on the history button you may need to change the setting sqldatetimeformat


This can occur when the wrong url for CRM is in the client connection settings.
By default it is set to


To fix check the CRM url is correct (settings).
  <add key="sqldatetimeformat" value="yyyy-dd-MM"/>


You may need to change to


----
  <add key="sqldatetimeformat" value="yyyy-MM-dd"/>


When .NET Framework 4.0 is installed it is not "Enabled" by default in IIS 7, you have to "allow" it in IIS 7 manager, click on your server name, not the website that is not displaying the page, in my case the ISAPI and CGI Restriction icon only appears there. Open up ISAP and CGI restrictions and enable both entries for .NET Framework 4.0.
http://forums.iis.net/t/1190786.aspx?Error+404+2+ISAPI+and+CGI+list+settings+restrictions+list+settings+on+Web+Server


----
----
404 errors


This can happen is ASP.Net is not installed in IIS
Cannot see emails filed within CRM


Make sure that ASP.Net is installed and then in IIS...
Ths issue is that the default filter on the communications screen is set to "Pending" and the emails are filed as "Complete".  
Change your filter to view the emails.


IIS Manager -> Servername -> "Web Service Extensions", and set ASP.NET v2.0xxxxxx to Allowed
[[File:comm_status.png]]
 
In later versions if IIS what can happen is that .NET is not re-initialized after installing IIS


aspnet_regiis -i -enable


Ref: http://stackoverflow.com/questions/467188/why-would-an-aspx-file-return-404-the-page-cannot-be-found


----
----


Sometimes in Outlook the "delete" key does not work (when editing fields)
You cannot use the ampersand '&' character or '%' character in a password when using Accelerator. This is due to a bug in the Sage CRM web-service API


The workaround for this is the hold down "shift" and click "delete".
Ref: https://community.sagecrm.com/user_community/f/84/p/9460/30971.aspx#30971


*This was resolved in version 4.2.2


----
----


Add on conflict
Users must have web-service access set to true


Some other 3rd party add ons can cause issues with the Accelerator
-the only solution for this is to disable the other 3rd party add on


----
----


Upgrading CRM can sometimes knock out the IIS application for Accelerator
New Appointment/Task error in Outlook (webpicker)


Your "SageCRMWS" folder should look like this
[[File:appttaskerr.png]]


[[File:iisapp.png]]
If you add a new custom entity to CRM and add the "Communication" field that was created to the screen "AcceleratorWebPicker" you will see this error.


If not right click on the folder and select "Convert to Application" (IIS 7)
To resolve remove the field from this screen.
 
For IIS 6 you need to select the properties and click the "Create" button




----
----


500 error: Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list.
Reconnect to CRM - Prompt when outlook is opened. (Sage CRM Offline Access failed)


This is because ASP.Net was not completely installed with IIS even though I checked that box in the "Add Feature" dialog. To fix this simply run the following command at the command prompt
[[File:reconnecttologon.png]]


%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
This can happen when the logon fails when Outlook is started.


If I had been on a 32 bit system, it would have looked like the following:
A checklist for this is as follows:


%windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i
1. User is allowed log on to CRM via CRM's web services (Allow WebService Access:True)
  Navigate to the users details (Administration -> Users -> Users) and view the users details and check that the
  "Allow WebService Access" setting is set to true


Fix found via ref: http://stackoverflow.com/questions/6846544/how-to-fix-handler-pagehandlerfactory-integrated-has-a-bad-module-managedpip
[[File:allowwebservice.png]]


2. Accelerator license check.
  Navigate to "Administration -> Accelerator -> User Management"
  From that screen check that the user is in the list


----
Typical Errors that need this resolution say "Disconnected" in the text


VSTO installation error
3. In the Outlook settings check that the active path is set and that the value is correct


[[File:vstoerror.png]]
[[File:activepath.png]]


Suggestions to remedy this is to install the Prerequisites as listed below
4. You cannot use the ampersand '&' character in a password when using Accelerator (this is due to a web-service bug in Sage CRM).


Prerequisites
================


Windows Installer 3.1
----


  http://support.microsoft.com/kb/893803
Date/Time Formatting


Microsoft visual studio 2010 tools for office runtime
The screens displayed in outlook are CRM screens and the date/time formatting is controlled from CRM via the user preferences.


  http://www.microsoft.com/en-ie/download/details.aspx?id=42513
[[File:datetimepref.png]]


Microsoft office 2010 primary interop assemblies
Once changed the changes will only be reflected on the next user session logon. With Outlook this typically will not happen until IIS is reset (or CRM restarts) as it keeps the same session.


  http://www.microsoft.com/en-ie/download/details.aspx?id=3508
----


Microsoft office 2007 primary interop assemblies
Large emails not filing


  http://www.microsoft.com/en-IE/download/details.aspx?id=18346
Issue is down to the size of the email and a limit in IIS


To adjust the limit do the following:


.Net framework 3.5 sp1
IIS7,  IIS Admin & Click your CRM site and expand it then click the ASP icon.  


  http://www.microsoft.com/en-ie/download/details.aspx?id=22
[[File:iisasp.png]]


Expand the Limits Properties icon, and change the value in the “Maximum Requesting Entity Body Limit” to a value larger than 200000.


----
Max value is 2147483647


The Authority/Host could not be parsed
[[File:iisaspmax.png]]


[[File:authhost.png]]
The Error for this can look like the following:


This is down to an issue in the CRM url entered (missing a / (forward slash) for example)
pr_insertCommunication failed: Entity:person;ID:471;UserId:;Message:Communication creation failed for person:Error occurred during the call to eWare.Init().Exception: Type mismatch<br />In IIS check the application pool that your custom site is running in and make sure it is the same application pool as CRM.;Stack Trace:  at SageCRMWSBase.SageCRMWSBaseService.pr_insertCommunication(StringDictionary CommParams, String EntityName, String EntityID,  StringDictionary CommLinkParams, String UseUserId, String CommId, Boolean UpdateCommLinks)


You may need to access the registry to resolve this
[[File:comm_creation_failed.png]]
Open
  "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LowRegistry\CRM Together\SageCRM"


check the SageCRMPath
15/06/2016 Issue can also appear as:
  "SageCRMPath"="http://crm.yourservercom/crm/eware.dll/go"


for the ActiveCRMPath1
  Error :System.Web.Services.Protocols.SoapException: Communication creation failed for: personID:Error occurred during the call to eWare.Init().Exception: Type mismatch<br />In IIS check the application pool that your custom
  site is running in and make sure it is the same application pool as CRM.;Message:Communication creation failed for person:Error occurred during the call to eWare.Init().Exception: Type mismatch<br />In IIS check the
  application pool that your custom site is running in and make sure it is the same application pool as CRM.;Stack Trace:  at SageCRMWSBase.SageCRMWSBaseService.pr_insertCommunication(StringDictionary CommParams, String
  EntityName, String EntityID, StringDictionary CommLinkParams, String UseUserId, String CommId, Boolean UpdateCommLinks)
  at SageCRMWSBase.SageCRMWSBaseService.pr_insertCommunication(StringDictionary CommParams, String EntityName, String EntityID, StringDictionary CommLinkParams, String UseUserId, String CommId, Boolean UpdateCommLinks)
  at SageCRMWSBase.SageCRMWSBaseService.pr_insertCommunication(StringDictionary CommParams, String EntityName, String EntityID, StringDictionary CommLinkParams)
  at SageCRMWS.SageCRMWSAccelerator.insertCommunicationEmail(String EntityName, String EntityID, CRMDocumentClass dc, String emailType)
----


  "ActiveCRMPath1"="True"
IIS 8 and 404 (404.17) messages on screens


You must install .net4.5 via the server manager (add feature) to enable.


----
[[File:server_install_asp_net.png|200px]]


404 pages when .net 4.x is installed.
[[File:iis_isapi_and_cgi_restrictions.png|200px]]


When .NET Framework 4.0 is installed it is not "Enabled" by default in IIS 7, you have to "allow" it in IIS 7 manager, click on your server name, not the website that is not displaying the page, in my case the ISAPI and CGI Restriction icon only appears there. Open up ISAP and CGI restrictions and enable both entries for .NET Framework 4.0.
[[File:iis_isapi_and_cgi_restrictions_allow.png|200px]]


ref: http://forums.iis.net/t/1190786.aspx?Error+404+2+ISAPI+and+CGI+list+settings+restrictions+list+settings+on+Web+Server
see also
[https://techcommunity.microsoft.com/t5/iis-support-blog/404-page-not-found-error-even-though-the-page-exists/ba-p/1480908 https://techcommunity.microsoft.com/t5/iis-support-blog/404-page-not-found-error-even-though-the-page-exists/ba-p/1480908]


[[File:iis4_a.png]]
Also finally you may have an issue with the bookmarks lookup.  


[[File:iis4_b.png]]
To fix we set the following fields


[[File:iis4_c.png]]
<add key="CRMCodedPath" value="http://yourserver/crm/" />


[[File:iis4_d.png]]
And


<add key="GatewayCRMPath" value="http://crm.yourserver.com/CRM/"/>




----
----
Error:
Outlook add on keeps disappearing
Your working folder does no have the correct permissions set


If you see this it either means that (as it says) the user permissions are not set.
You need to open your registry and navigate to


[[File:workingfolset.png]]
  HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\CRM Together Outlook Add On\


However another reason could be that is a previous merge fails then the word (.doc,.docx) file and/or the mail merge .dat file are locked.
and delete the key


To clear this you must clear out the files from your working folder
  Warmup


As per the example image above it would be
and set the value for


C:\Users\Frank\Downloads
  LoadBehavior


*Please refer to your own system for your path
to be 3


Re-start outlook then


----
ref: https://support.microsoft.com/en-ph/help/4017116/event-4096-is-logged-if-the-warmup-entry-is-set-for-vsto-add-ins-in-ou


Surface pro resolution issues


Please refer to the following links to resolve this:


http://www.microsoft.com/surface/en-ie/support/apps-and-windows-store/app-display-issues#Solution2
----
Email date and times are going in incorrectly (EG as 1899)


http://www.gizmodo.com.au/2013/05/how-to-set-up-your-microsoft-surface-pro-just-right/
Chances are you are running MSSQL 2012 and you need to set this as follows:


    <add key="sqldatetimeformat2" value="o"/>


----


Outlook add-in being disabled
 
  Possible disable reason is in the local event log
  *This add-in caused Outlook to start slowly


You can control this as per the details on the following link
----


http://blogs.office.com/2012/10/08/take-control-of-your-outlook-2013-add-ins/
CRMCodedPath setting


If your system does not allow http requests from with IIS to an outside/external address you can set the internal address within the web config


----
<add key="CRMCodedPath" value="" />


Common Language Runtime detected an invalid program
sample value


[[File:clrerror.png]]
http://localhost/crm


Ref: http://stackoverflow.com/questions/17267592/common-language-runtime-detected-an-invalid-program
    *requires CRM setting IPAddressChecking to be disabled – this is in the registry


Solution is to delete temporary asp.net files from
  C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
 
*You may need to stop IIS to do this
*Causes of this can include windows updates and virus scanning software




----
----
Take control of your Outlook 2013 add-ins


Error installing Outlook application
https://www.microsoft.com/en-us/microsoft-365/blog/2012/10/08/take-control-of-your-outlook-2013-add-ins/


"Unable to install this application because an application with the same identity is already installed. To install this application, either modify the manifest version for this application or uninstall the preexisting application."
See also


You have to find the ClickOnce deployment folder (C:\Users\username\AppData\Local\Apps\2.0) and manually delete all folder contents. This can also be done by invoking the
https://support.microsoft.com/en-us/kb/2733070
 
  rundll32 dfshim CleanOnlineAppCache




----
----


Length cannot be zero
System Logging - This is used ONLY to detect environment specific issues


[[File:lencannotbezero.png]]
Open windows and enter %temp% in the path


Issue is that the path to CRM is not set or is incorrect. To resolve open the settings (you may need to do this via the IE toolbar) and update then restart Outlook.
This should open the folder "C:\Users\username\AppData\Local\Temp" for example (or even  "C:\Users\username\AppData\Local\Temp\1")


[[File:pathsettings.png]]
Create a file called "ctlog.txt"


Re-start Outlook.


----
When you use Accelerator the system will create a file for each day with logging information *this should not be used long term
If you see an error when clicking on the history button in IE you may need to change the setting sqldatetimeformat


By default it is set to
The log files will be created with the name format


   <add key="sqldatetimeformat" value="yyyy-dd-MM"/>
   CRMTogetherLogFile_mmddyyyy.txt


You may need to change to
EG
 
   CRMTogetherLogFile_06162015.txt
   <add key="sqldatetimeformat" value="yyyy-MM-dd"/>


Reproduce any issue and send the file to support (zip up if needed as the file may be large)


----
----


The remote certificate is invalid according to the validation procedure
Could not create SSL/TLS secure channel
 


[[File:certinvalid2.png]]
This issue is due to the SSL path (https) not working from the server.  


This is due to an invalid SSL cert on the server - If you are using SSL a valid cert is required for the system to work (also documented in requirements)
The system acts like a proxy and so if https is used from outside then it is used internally (from the server) also.
Typically your browser will display a problem


Sample screen shot from IE
Two options here are:


[[File:certinvalid1.png]]
1. Configure the server to work with the https path.


2. Use the CRMCodedPath setting.
If your system does not allow http requests from with IIS to an outside/external address you can set the internal address within the web config
<add key="CRMCodedPath" value="" />
sample value


----
http://localhost/crm
  *requires CRM setting IPAddressChecking to be disabled – this is in the registry


Not licensed or not registered correctly message


  In IIS check the application pool that your custom site (SageCRMWS) is running in and make sure it is the same application pool as CRM.




----
----


Email cannot be parsed - Exchange
Manage your add-ins


The error is that the email is from someone internally (only happens with internal accounts) and the emails do not have the email address where the system can parse it.
Click File


[[File:emailcannotparsed.png]]
[[File:filemenu.png]]


You will see a button "Manage COM add-ins".


----
[[File:slowanddis.png]]


Cannot see emails filed within CRM
Click this.


Ths issue is that the default filter on the communications screen is set to "Pending" and the emails are filed as "Complete".
You will see a dialog
Change your filter to view the emails.


[[File:comm_status.png]]
[[File:manageaddins.png]]


Click Always Enable this add-in


----
and then click Close


New logging option - Only use this when requested to by support - available from 4.3 only


To turn on logging in the Outlook add-in create a file (ctlog.txt) in your users temp folder


EG
----
  C:\Users\''username''\AppData\Local\Temp\ctlog.txt
Error on Summary screens -
 
Restart Outlook


You will then see log files with the name format
  "An existing connection was forcibly closed by the remote host"


  CRMTogetherLogFile_mmddyyyy.txt
Fix: you need to set the "GatewayCRMPath" in the web.config file


EG
EG
   CRMTogetherLogFile_06162015.txt
    
 
  <add key="GatewayCRMPath" value="http://www.server.com/CRM/" />
Reproduce any issue and send the file to support (zip up if needed as the file may be large)




----
----
Having problems installing the Outlook add-in?


Microsoft visual studio 2010 tools for office run-time installs
Some users getting errors when filing emails with attachments


  http://www.microsoft.com/en-ie/download/details.aspx?id=44074
[[File:usernamebadlibrary.png]]


Download and install on the client and try the install again.
This can be caused by the user in CRM not having a first and last name set and also by the first name having a space before the name.  


Most clients should not need this if they are on the latest patch of Office.
Fix this in CRM itself to resolve this issue (outlook restart required)




----
----
4.7.1.0 issue
If when using Accelerator a request is made with an invalid session the error response is cached.


You cannot use the ampersand '&' character in a password when using Accelerator.  
In the custompages/sagecrmws/web.config


Add in the line


----
  <add key="DisableCaching" value="Y"/>
 
to disabled the caching to resolve this.


Users must have web-service access set to true
This will be fixed in 4.7.1.1




----
----
Install error: Cannot find the supported version of Outlook


New Appointment/Task error in Outlook (webpicker)
You see this error


[[File:appttaskerr.png]]
[[File:versionsupportoutlook.png]]


If you add a new custom entity to CRM and add the "Communication" field that was created to the screen "AcceleratorWebPicker" you will see this error.
when installing Accelerator.


To resolve remove the field from this screen.
This is caused by a corrupted install of Outlook and Outlook needs to be re-installed.




----
----


Reconnect to CRM - Prompt when outlook is opened.
Mark Add in as always enabled.  


[[File:reconnecttologon.png]]
'''Add-in Resiliency'''


This can happen when the logon fails when Outlook is started.
To Manually do this open regedit and navigate to


A checklist for this is as follows:
  Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Resiliency\DoNotDisableAddinList


1. User is allowed log on to CRM via CRM's web services (Allow WebService Access:True)
*the path may vary depending on your version of Office (in this case its 16.0
  Navigate to the users details (Administration -> Users -> Users) and view the users details and check that the
  "Allow WebService Access" setting is set to true


[[File:allowwebservice.png]]
Create a DWORD value "CRM Together Outlook Add On" and set the value to be 1


2. Accelerator license check.
[[File:resilianecy_fix.png]]
  Navigate to "Administration -> Accelerator -> User Management"
  From that screen check that the user is in the list
 
3. In the Outlook settings check that the active path is set and that the value is correct
 
[[File:activepath.png]]
 
4. You cannot use the ampersand '&' character in a password when using Accelerator.


ref: https://support.netdocuments.com/hc/en-us/articles/205219670-Changing-the-Load-Behavior-of-the-ndOffice-Add-ins


----
---


Date/Time Formatting
Below is the location in the registry of the user settings (in case you need to manually review/remove these)
 
The screens displayed in outlook are CRM screens and the date/time formatting is controlled from CRM via the user preferences.


[[File:datetimepref.png]]
Computer\HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LowRegistry\CRM Together\SageCRM


Once changed the changes will only be reflected on the next user session logon. With Outlook this typically will not happen until IIS is reset (or CRM restarts) as it keeps the same session.


----
----


Large emails not filing
The add-on doesn’t auto-load.  We need to go into Outlook>Option>Add-Ins and manually turn it on.
 
Issue is down to the size of the email and a limit in IIS
 
To adjust the limit do the following:
 
IIS7,  IIS Admin & Click your CRM site and expand it then click the ASP icon.
 
[[File:iisasp.png]]
 
Expand the Limits Properties icon, and change the value in the “Maximum Requesting Entity Body Limit” to a value larger than 200000.  


Max value is 2147483647
We recommend that you re-install the client add-in.
If that didn’t work look at the registry settings on that machine


[[File:iisaspmax.png]]
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\CRM Together Outlook Add On]
The ‘Load Behaviour’ value should be 3


The Error for this can look like the following:
[[File:loadbehaviour3.png]]


pr_insertCommunication failed: Entity:person;ID:471;UserId:;Message:Communication creation failed for person:Error occurred during the call to eWare.Init().Exception: Type mismatch<br />In IIS check the application pool that your custom site is running in and make sure it is the same application pool as CRM.;Stack Trace:  at SageCRMWSBase.SageCRMWSBaseService.pr_insertCommunication(StringDictionary CommParams, String EntityName, String EntityID,  StringDictionary CommLinkParams, String UseUserId, String CommId, Boolean UpdateCommLinks)
[[File:comm_creation_failed.png]]


----
----
16 July 2020


IIS 8 and 404 messages on screens
Issue:Company matches on addresses like "gmail.com" cause outlook to hang.


You must install .net4.5 via the server manager (add feature) to enable.
This is caused by a change in how the system  searches on companies. The number of records is not limited and therefore slows the system down.  
A workaround is to the setting to be added to the “custompages/sagecrmws/web.config” file


              <add key="findCompanyByEmailFilter" value="select top 20 comp_companyid as ELink_RecordID from vSummaryCompany where comp_emailaddress like '%#searchsql#'" />


----


'Sage CRM 7.3c Patch' to 'Sage CRM 7.3 SP1 HF2'
Add this to the bottom just above the </appSettings> tag
 
This breaks the Calendar lookup that restricts the cases/opportunities list to the given company.
 
To resolve this you need to update the 'About' field to have the Default as 'Search with the current Company'




----
----
Outlook add on keeps disappearing
Uninstall the client  
 
Check the '''local event log (on the client running outloook)''' - if you see an error like below


Customization URI: file:///C:/Program Files/Common Files/Microsoft Shared/VSTA/Pipeline.v10.0/PipelineSegments.store
Normally to uninstall the client you would go to "add or remove programs" but if this is not allowed you can find the uninstall program in the installation folder.
Exception: Exception reading manifest from file:///C:/Program%20Files/Common%20Files/Microsoft%20Shared/VSTA/Pipeline.v10.0/PipelineSegments.store: the manifest may not be valid or the file could not be opened.
Depending on the users permissions the install folder will be either


You need to open your registry and navigate to
1. C:\Program Files\CRM Together\OutlookAddIn


  HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\CRM Together Outlook Add On\
or


and delete the key
2. C:\Users\marc\AppData\Roaming\CRM Together\OutlookAddIn


  Warmup
and the uninstall program called "unins000.exe"
 
and set the value for
 
  LoadBehavior
 
to be 3
 
Re-start outlook then
 
 
----
 
404 on Case summary screen (for some users)
 
Issue here is to do with the user setup in CRM. The workaround is to copy the
 
  "custompages/sagecrmws/intCases.aspx"  


file and rename the copied version
Run the "unins000.exe" to remove the client
  "custompages/sagecrmws/intCase.aspx"

Latest revision as of 11:44, 13 January 2023

21 Nov 22

Uninstall the classic Outlook add-in

Go to add/remove programs on the machine with Outlook

Select the "CRM Together Outlook Add-on"



12 Feb 2022

Error code #5532

"Customized functionality in this application will not work" error when opening outlook the first time the add in is installed. To fix this you enable the appropriate ClickOnce Trust Prompts in Regedit.

Ref: https://docs.microsoft.com/en-us/visualstudio/deployment/how-to-configure-the-clickonce-trust-prompt-behavior?view=vs-2022

You can download a file to install these settings in your registry from here. This should only be done by an IT person who knows what they are doing.

 https://update.crmtogether.com/support/trust.reg

26 Aug 2021

Outook Today is blank.

Workaround

  • Close Outlook.
  • To open the Registry Editor, select Start > Run, then type regedit and click OK.
  • In the left pane, expand the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
  • Right-click on Outlook.exe and select modify.
  • Select Decimal, then change the value to 10001.
  • Select the Decimal value and enter 10001.
  • Select OK, then close the Registry Editor.
  • Restart Outlook.

Ref: https://support.microsoft.com/en-us/office/outlook-today-does-not-load-correctly-after-installing-the-grammarly-add-in-d646677f-2077-431d-9406-6e52f752e7a8


User has no premissions to run the classic installer

Workaround:

  • Close Outlook
  • Turn off UAC
  • When prompted to install for all users select NO
  • Change the install path to be
   C:\Users\<USERNAME>\AppData\Roaming\CRM Together
  • Turn on UAC
  • Open Outlook



1 Oct 2019

Microsoft update "KB4516061" may be causing IIS to crash (resolution is to uninstall this update)


10 Sept 2018

Outlook Version 1808 (and later) on high res monitors is breaking Accelerator. Blank screens appear where the browser should be. This is down to a change Microsoft did around DPI resolution and switching between high and low res monitors.

For now the resolution is to open Outlook and click

File->Options

General

Select the "Optimize for compatibility" option

Re-start outlook

This issue is caused by a change for "Office support for high definition displays"



28 May 2018 - updated this help to archive old issues and rare environment problems

These can now be found in

https://accelerator.crmtogether.com/index.php?title=Accelerator_Troubleshoot_archive


Cannot see Accelerator in Outlook

The add in may be disabled or in-active.

To check this Open outlook and view the File->Options->Add-ins

Within this area check if the add-in is disabled and re-enable if so

To view add-in options click File

select Options

Click Add-ins

Click the Go... button

and check the box and click OK

The restart outlook

If the add-on is disabled select the disabled option from the drop down and re-enable



If you see an error when clicking on the history button you may need to change the setting sqldatetimeformat

By default it is set to

 <add key="sqldatetimeformat" value="yyyy-dd-MM"/>

You may need to change to

 <add key="sqldatetimeformat" value="yyyy-MM-dd"/>



Cannot see emails filed within CRM

Ths issue is that the default filter on the communications screen is set to "Pending" and the emails are filed as "Complete". Change your filter to view the emails.



You cannot use the ampersand '&' character or '%' character in a password when using Accelerator. This is due to a bug in the Sage CRM web-service API

Ref: https://community.sagecrm.com/user_community/f/84/p/9460/30971.aspx#30971



Users must have web-service access set to true



New Appointment/Task error in Outlook (webpicker)

If you add a new custom entity to CRM and add the "Communication" field that was created to the screen "AcceleratorWebPicker" you will see this error.

To resolve remove the field from this screen.



Reconnect to CRM - Prompt when outlook is opened. (Sage CRM Offline Access failed)

This can happen when the logon fails when Outlook is started.

A checklist for this is as follows:

1. User is allowed log on to CRM via CRM's web services (Allow WebService Access:True)

  Navigate to the users details (Administration -> Users -> Users) and view the users details and check that the
  "Allow WebService Access" setting is set to true

2. Accelerator license check.

  Navigate to "Administration -> Accelerator -> User Management"
  From that screen check that the user is in the list

Typical Errors that need this resolution say "Disconnected" in the text

3. In the Outlook settings check that the active path is set and that the value is correct

4. You cannot use the ampersand '&' character in a password when using Accelerator (this is due to a web-service bug in Sage CRM).



Date/Time Formatting

The screens displayed in outlook are CRM screens and the date/time formatting is controlled from CRM via the user preferences.

Once changed the changes will only be reflected on the next user session logon. With Outlook this typically will not happen until IIS is reset (or CRM restarts) as it keeps the same session.


Large emails not filing

Issue is down to the size of the email and a limit in IIS

To adjust the limit do the following:

IIS7, IIS Admin & Click your CRM site and expand it then click the ASP icon.

Expand the Limits Properties icon, and change the value in the “Maximum Requesting Entity Body Limit” to a value larger than 200000.

Max value is 2147483647

The Error for this can look like the following:

pr_insertCommunication failed: Entity:person;ID:471;UserId:;Message:Communication creation failed for person:Error occurred during the call to eWare.Init().Exception: Type mismatch
In IIS check the application pool that your custom site is running in and make sure it is the same application pool as CRM.;Stack Trace: at SageCRMWSBase.SageCRMWSBaseService.pr_insertCommunication(StringDictionary CommParams, String EntityName, String EntityID, StringDictionary CommLinkParams, String UseUserId, String CommId, Boolean UpdateCommLinks)

15/06/2016 Issue can also appear as:

  Error :System.Web.Services.Protocols.SoapException: Communication creation failed for: personID:Error occurred during the call to eWare.Init().Exception: Type mismatch
In IIS check the application pool that your custom site is running in and make sure it is the same application pool as CRM.;Message:Communication creation failed for person:Error occurred during the call to eWare.Init().Exception: Type mismatch
In IIS check the application pool that your custom site is running in and make sure it is the same application pool as CRM.;Stack Trace: at SageCRMWSBase.SageCRMWSBaseService.pr_insertCommunication(StringDictionary CommParams, String EntityName, String EntityID, StringDictionary CommLinkParams, String UseUserId, String CommId, Boolean UpdateCommLinks) at SageCRMWSBase.SageCRMWSBaseService.pr_insertCommunication(StringDictionary CommParams, String EntityName, String EntityID, StringDictionary CommLinkParams, String UseUserId, String CommId, Boolean UpdateCommLinks) at SageCRMWSBase.SageCRMWSBaseService.pr_insertCommunication(StringDictionary CommParams, String EntityName, String EntityID, StringDictionary CommLinkParams) at SageCRMWS.SageCRMWSAccelerator.insertCommunicationEmail(String EntityName, String EntityID, CRMDocumentClass dc, String emailType)

IIS 8 and 404 (404.17) messages on screens

You must install .net4.5 via the server manager (add feature) to enable.

see also https://techcommunity.microsoft.com/t5/iis-support-blog/404-page-not-found-error-even-though-the-page-exists/ba-p/1480908

Also finally you may have an issue with the bookmarks lookup.

To fix we set the following fields

<add key="CRMCodedPath" value="http://yourserver/crm/" />

And

<add key="GatewayCRMPath" value="http://crm.yourserver.com/CRM/"/>



Outlook add on keeps disappearing

You need to open your registry and navigate to

 HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\CRM Together Outlook Add On\

and delete the key

 Warmup

and set the value for

 LoadBehavior

to be 3

Re-start outlook then

ref: https://support.microsoft.com/en-ph/help/4017116/event-4096-is-logged-if-the-warmup-entry-is-set-for-vsto-add-ins-in-ou



Email date and times are going in incorrectly (EG as 1899)

Chances are you are running MSSQL 2012 and you need to set this as follows:

   <add key="sqldatetimeformat2" value="o"/>



CRMCodedPath setting

If your system does not allow http requests from with IIS to an outside/external address you can set the internal address within the web config

<add key="CRMCodedPath" value="" />

sample value

http://localhost/crm
   *requires CRM setting IPAddressChecking to be disabled – this is in the registry



Take control of your Outlook 2013 add-ins

https://www.microsoft.com/en-us/microsoft-365/blog/2012/10/08/take-control-of-your-outlook-2013-add-ins/

See also

https://support.microsoft.com/en-us/kb/2733070



System Logging - This is used ONLY to detect environment specific issues

Open windows and enter %temp% in the path

This should open the folder "C:\Users\username\AppData\Local\Temp" for example (or even "C:\Users\username\AppData\Local\Temp\1")

Create a file called "ctlog.txt"

Re-start Outlook.

When you use Accelerator the system will create a file for each day with logging information *this should not be used long term

The log files will be created with the name format

 CRMTogetherLogFile_mmddyyyy.txt

EG

 CRMTogetherLogFile_06162015.txt

Reproduce any issue and send the file to support (zip up if needed as the file may be large)


Could not create SSL/TLS secure channel

This issue is due to the SSL path (https) not working from the server.

The system acts like a proxy and so if https is used from outside then it is used internally (from the server) also.

Two options here are:

1. Configure the server to work with the https path.

2. Use the CRMCodedPath setting. If your system does not allow http requests from with IIS to an outside/external address you can set the internal address within the web config <add key="CRMCodedPath" value="" /> sample value

http://localhost/crm

  *requires CRM setting IPAddressChecking to be disabled – this is in the registry




Manage your add-ins

Click File

You will see a button "Manage COM add-ins".

Click this.

You will see a dialog

Click Always Enable this add-in

and then click Close



Error on Summary screens -

 "An existing connection was forcibly closed by the remote host"

Fix: you need to set the "GatewayCRMPath" in the web.config file

EG

  <add key="GatewayCRMPath" value="http://www.server.com/CRM/" />



Some users getting errors when filing emails with attachments

This can be caused by the user in CRM not having a first and last name set and also by the first name having a space before the name.

Fix this in CRM itself to resolve this issue (outlook restart required)



4.7.1.0 issue If when using Accelerator a request is made with an invalid session the error response is cached.

In the custompages/sagecrmws/web.config

Add in the line

 <add key="DisableCaching" value="Y"/>

to disabled the caching to resolve this.

This will be fixed in 4.7.1.1



Install error: Cannot find the supported version of Outlook

You see this error

when installing Accelerator.

This is caused by a corrupted install of Outlook and Outlook needs to be re-installed.



Mark Add in as always enabled.

Add-in Resiliency

To Manually do this open regedit and navigate to

 Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Resiliency\DoNotDisableAddinList
  • the path may vary depending on your version of Office (in this case its 16.0

Create a DWORD value "CRM Together Outlook Add On" and set the value to be 1

ref: https://support.netdocuments.com/hc/en-us/articles/205219670-Changing-the-Load-Behavior-of-the-ndOffice-Add-ins

---

Below is the location in the registry of the user settings (in case you need to manually review/remove these)

Computer\HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LowRegistry\CRM Together\SageCRM



The add-on doesn’t auto-load. We need to go into Outlook>Option>Add-Ins and manually turn it on.

We recommend that you re-install the client add-in. If that didn’t work look at the registry settings on that machine

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\CRM Together Outlook Add On] The ‘Load Behaviour’ value should be 3



16 July 2020

Issue:Company matches on addresses like "gmail.com" cause outlook to hang.

This is caused by a change in how the system searches on companies. The number of records is not limited and therefore slows the system down. A workaround is to the setting to be added to the “custompages/sagecrmws/web.config” file

             <add key="findCompanyByEmailFilter" value="select top 20 comp_companyid as ELink_RecordID from vSummaryCompany where comp_emailaddress like '%#searchsql#'" />


Add this to the bottom just above the </appSettings> tag



Uninstall the client

Normally to uninstall the client you would go to "add or remove programs" but if this is not allowed you can find the uninstall program in the installation folder. Depending on the users permissions the install folder will be either

1. C:\Program Files\CRM Together\OutlookAddIn

or

2. C:\Users\marc\AppData\Roaming\CRM Together\OutlookAddIn

and the uninstall program called "unins000.exe"

Run the "unins000.exe" to remove the client