Saturday, June 21, 2008

Opportunity setstate plugin problems

Few months ago, I was writing a plugin on opportunity setstate. I registered the plugin using registeration tool. My plugin never get triggered. After messing around for few hours, I registered the plugin on SetStateDynamicEntity message. Even then when I closed the opportunity, the plugin did not trigger, did not matter if it's won or lost opportunity, But plugin did trigger when I reopened the closed opportunity. I tried a lot of different things and at the end I registerfed my pluggin for win and lose message instead of setstate or setstatedynamicentity message. It worked this time.
I hope this will help some of you guys facing the same problem.

Have a nice weekend.

Tuesday, June 10, 2008

Upgrade sbs MSCRM 3.0 to MSCRM 4.0

Recently, we did an upgrade for one of our client from SBS MSCRM 3.0 to 4.0.
Everything was going great and suddenly we got an error message

Action Microsoft.Crm.Setup.Server.MsiInstallServerAction failed.This patch package could not be opened. Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package.

Till this point we did not have any problem. After the error message CRM stops working. We did not find any component of MSCRM 4.0 installed.

We tried all sort of things but nothing worked. The problem was upgrade wizard could not find the installation package. It was looking for the package at some temporary internet files location.

The problem was caused by the update installation files step of the upgrade.

We tried to go ahead with the update without updating the files. It worked. We apply the the hotfixes after the installation.

MSCRM Hot fixes and Updates

Here the link for all the latest hot fixes and updates for MSCRM 4.0

Monday, June 9, 2008

Spell Checker

A lot of clients ask us to add a spell checker to CRM email templates . There is free spell checker available called IESpell, which can be downloaded from Plz check the term and condition on the web site. Install the software. Add a custom button on the CRM form and call the IESpell. It looks like

The spell check can be added to any page of CRM.

If you need further assissatnce contact me at