Assembly must be registered in isolation error while trying to register plugin \ custom workflow activity in Isolation Mode None in Dynamics 365 On Premise CE

Hi Folks,

Recently I was trying to move the Plugins within a solution to another environment where I started to face the above mentioned error.

After checking found that the user who is deploying solution didnt have deployment administrator role. For this we need to provide Deployment administrator to the user who was actually deploying the solution, you will find deployment manager for your Dynamics Onpremise instance.

Once deployment administrator role is added, you should be able to move the solution.

Reference: Link

Cheers,

PMDY

Updating SSL Certifcates for your MVC Portals

Hi,

Now-a-days Power Platform pages/portals are being adopted by the clients using Dynamics. But there could be clients who still have their ASP.net MVC Portals running on Azure and just that they don’t want to move because of budget constraints. There will be times when you need to update the SSL certifcate to make the websites more secure out in the internet.

So here in this case, we’ll walk through the steps for updating your portal certificate. Please note that you need to create certificate request and request for the certificate from a certificate authority.

For updating certificate, you need use IIS….go to Server Certificates as highlighted below

Click on Complete Certificate Request at the right…as below

For File name below, click on Elipses and locate the file(.cer) of your SSL certificate provided by certificate issuing authority and click Ok.

Next step is to update the website bindings to take the latest certificate just updated. Click on your website as below..you should see bindings at the right as highlighted.

Locate the bindings as below

Click on the binding and click Edit..and select your latest SSL Certificate..

Click Ok and there you go, your certificate is updated.

Thank you for reading, please let me in comments if you have any queries….

Cheers,

PMDY

Visual Studio Cache Cleanup – Tip to Step into your DLL Code

Hi Folks,

Have you ever had a situation where you had to debug a DLL code referred from your existing .Net Assembly…?

Possibly you might have added a reference…but still not able to step into your respective DLL even after adding project references and placing PDB in bin folder, then this tip of Visual Studio is for you…

First of all, here’s how to clear the Component Cache…

1. Close Visual Studio (ensure devenv.exe is not present in the Task Manager)
2. Delete the %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache directory
3. Restart Visual Studio.

You could also need to cleanup your user’s temp folder. It is usually located under  %USERPROFILE%\AppData\Local\Temp.

Now try to debug and verify…possibly you need to try the user profile temp data clearing also.

If the above fails, you can go with approach…but be careful before proceeding…

%USERPROFILE%\AppData\Local\Microsoft\Team Foundation
%USERPROFILE%\AppData\Local\Microsoft\VisualStudio
%USERPROFILE%\AppData\Local\Microsoft\VSCommon

Then, open the Visual Studio IDE folder in command prompt and Run devenv /resetuserdata from the Visual Studio IDE folder.
Typical location for 64 bit: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
Typical location for 32 bit: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

Reference:

https://www.matteopozzani.com/visual-studio-cache-cleanup/

Hope this helps in troubleshooting..

Cheers,

PMDY

No Plugins selected message in Plugin registration tool

Hi Folks,

When we were working on a plugin for D365 Online, faced the below mentioned error message in Plugin registration tool where it was not showing up the newly added the class to assembly.

However we were using the latest Plugin registration tool.

Capture.JPG

Making the class as Public solved the issue.

Capture.JPG

Hope this helps…

Thank you.

PMDY