CRM 2013 Account Ribbon not showing accurately - dynamics-crm-2011

We have recently upgraded from CRM 2011(On-premise) to CRM 2013(On-premise). After upgrade we have some JavaScript issues which we have fixed except the following one:
Whenever I open any account in CRM 2013, ribbon bar breaks-out, after enabling Debugger in IE-11, I found it was throwing some error:
Following is the screenshot of how ribbon is and the error:
After clicking yes on the above dialog below are the details what developer tools is showing:
After I close the record and reopen it,
The following error shows up and ribbon works fine.
PS: This error show up, when I open the Account Record for the first time. After that it works fine, until the browser is closed.
The above error 'keydown' keeps coming again and again.

There was some unsupported customization's in JavaScript, that were working fine in CRM 2011.
As we had recently upgraded to CRM 2013. So the unsupported JS was breaking the Ribbon UI. After disabling all the form JavaScript there were no errors.
I have updated the code and removed the unsupported JS. Now it's working fine.
The unsupported JS was taken from here:
http://innocentboysf09.blogspot.de/2014/05/crm-2011-like-subgrid-with-sorting-in.html
http://crmgreenbible.blogspot.de/2011/07/crm-2011-change-subgrid-fetchxml.html

Related

The provider 'AspNetXmlSiteMapProvider' specified for the defaultProvider does not exist

I am getting following error while designing page in Visual studio 17 or 19 using Acumatica template.
It is working fine in Acumatica version up to 19.1.x and it is thronging error from Acumatica 19.2.x onwards.
Sometime it fixes by running Tannate maintenance, but most of the time I have to recreate the page again
Error Rendering Control - dsAn unhandled exception has occurred.
The provider 'AspNetXmlSiteMapProvider' specified for the defaultProvider does not exist in the providers collection.
I am looking forward for suggestion to fix the error
I had the same very frustrating issue and was told by Acumatica support that the page templates don't work post Visual Studio 2015. They advised me to use the Customization Project Editor in Acumatica to build pages and once I figured out how to do this, I've been successful. Hope that helps.

Excel Custom Functions using Add-Ins: "This add-in is no longer available" error

I followed all of the steps here to try and load in a basic excel custom function add in. Everything in the setup stages seems to work, however, when I run 'npm run start:desktop' and Excel opens, there is an error on the side that says:
ADD-IN ERROR This add-in is no longer available: add-ins inserted during development are only available during debugging from Visual Studio. Please open your project in Visual Studio and re-run your application, or deploy your application into a valid catalog and re-insert
I get this error whether I run the project from the command line, VS Code, or Visual Studio. I am on Windows 10 using Excel 2016.
Here is a photo of the Excel page with the error:
Even though question is old one and I think OP must have resolved this problem. However I am currently facing the exact same problem so often. Below are my work arounds which are working for me, it might help others.
Clear Excel Cache in Trust center settings and run application again.
Many times options 1 does not work, then I make change in Add-in menifest to make it invalid and then undo these changes and run application.
If both options fails, then restart Visual Studio.
If all other options fails, restart my system, and then this issue is resolved.
If still problem persists, Uninstall Office workload from Visual studio, install it again and check. If problem persists then repair office.
These 5 workarounds have so far worked for me.
Clearing the Office cache sometimes fixes this: Clear the cache
UPDATE 1/23/2021:
There is now a troubleshooting section for this error: Getting error "This add-in is no longer available".

Office Professional 2016 Excel Office.js Add-in Browser Issue

The Add-in was working fine under Internet Explorer 11 and I was able to reliably observe and debug its behavior in Visual Studio 2017. Recently after some automatic Windows/Office updates, I noticed that iexplore.exe was not being used as the host browser. This resulted
in not being able to know what process to attach to for debugging.
At this point, out of desperation I executed the following steps to to set JS_DEBUG:
In a windows power shell window executed command
Get-AppxPackage Microsoft.Win32WebViewHost
The command listed the package information including full package name for Win32WebViewHost , which was
Microsoft.Win32WebViewHost_10.0.18362.449_neutral_neutral_cw5n1h2txyewy
I then executed the following
setx JS_DEBUG Microsoft.Win32WebViewHost_10.0.18362.449_neutral_neutral_cw5n1h2txyewy
After some poking I noticed that WWAHost.exe was being used as the browser. Now the add-in is deploying fine but is encountering strange errors.
Is it possible that the above steps resulted in WWAHost.exe as the browser being used to host the add-in. So wondering how to undo the above setting so Internet Explorer 11 is the browser used by Excel to host the add-in.
You cannot control which browser is used to host the add-in. Office decides that. For details how this is determined, see the article: Browsers used by Office Add-ins.

Microsoft Project not opening

I have a client who is asking me to fix an issue they are having with Microsoft Project.
The issue is that they are attempting to open a task list on SharePoint Online via the 'Open with Project' button in the ribbon, but after the alert asking them if they would like to open it in Project 2016 pops up nothing happens.
I have set up a fresh SharePoint environment and tried it at my end, but I get the same problem. There is no error message (as an alert or in the console) and I have wracked my brain and come up dry.
What I have tried:
New SharePoint instance.
Fresh Microsoft Project install.
Looked at the site/site collection features
Multiple browsers (specifically Chrome, IE and Firefox)
The issue is the same no matter what I do.
Has anyone else come across this problem before and, if so, how did you solve it?
Are you using 2016 Click-to-run (C2R) or MSI version? Can you share the build number from winproj.exe?
If you are on C2R version, can you try making the following registry edits (save the following as a .reg file and run it) and see if it helps?
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\Common\ExperimentEcs\Overrides]
"ofhdegpklv1irq0"=dword:00000000
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\ExperimentEcs\Overrides]
"ofhdegpklv1irq0"=dword:00000000

Unable to import Dynamics CRM 2013 Custom Code Validation Tool solution

We're working on upgrading CRM 2011 to CRM 2013 and I'm trying to upload the Microsoft Dynamics CRM 2013 Custom Code Validation Tool and the exact solution file name is CustomCodeValidationToolForMicrosoftDynamicsCRM201_2_0_0_1_managed.zip
It was downloaded from https://www.microsoft.com/en-us/download/details.aspx?id=30151
I'm using IE 11 on Windows 8.1 and as you may know CRM's Html forces the browser to use IE8 settings. The CRM website does not open in Chrome. The popup blocker is also disabled.
I have tried several times to import the solution but everytime it gets stuck on the "Import Customizations Dialog". There is no JavaScript error when the file is uploaded for import, the errors in the console appear when I click on the Import Solution button in the solution section.
Any ideas what could be done to fix it.
The solution was to install CRM 2011 Update rollup 17 https://www.microsoft.com/en-us/download/details.aspx?id=42672

Resources