More About This Website

All information is provided "AS IS" with no warranties, and confers no rights

Powered by Squarespace

Exception from HRESULT: 0x80044151

Pretty obvious the problem right? 

ok, how about I help you out and give you the stack trace….

[COMException (0x80044151): Exception from HRESULT: 0x80044151.]Microsoft.Crm.Platform.ComProxy.CBizSecRoleClass.ReplacePrivileges(CUserAuth& Caller, String RoleId, UInt32 Count, CRolePrivilege[] Privileges) +0
Microsoft.Crm.Application.Platform.Role.UpdatePrivileges(String roleId, Int32 mode) +404
Microsoft.Crm.Application.Platform.Role.InternalUpdate(String id, String xml) +88
Microsoft.Crm.Application.Platform.Entity.Update() +139
Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId) +418
Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) +56
Microsoft.Crm.Application.Forms.EndUserForm.Execute(Entity entity) +13
Microsoft.Crm.Web.BusinessManagement.RoleDetailPage.ConfigureForm() +122
Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +30
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Page.ProcessRequestMain() +1499

That helped right?  You now can tell me exactly the problem?  This error occurred trying to remove Assign Role permission from a root Role in an organization that probably had about 100 or so business units.  Turned out to be related to a SQL Timeout error and we fixed it after talking with support and getting a registry key entry to increase the timeout.

HKLM\Software\Microsoft\MSCRM\OLEDBTimeout (DWORD) and set the value to 300

After adding the registry value IIS had to be recycle and all was fine after that.

Let’s hope for better error messages next version!



Microsoft CRM Hot Fixes - June Review

KB 908951 has a list of all updates and hotfixes as of 6/30 - the following are some of the interesting ones I found.

KB 912252 – An Error has occurred in the script on this page when deleting a contact

KB 911316 – An error has occurred when trying to reply to an e-mail if the subject line of the email does not contain text

KB 913462 – grids are populated slower with custom entity – this problem occurs because the icons are not cached

KB 911986 – Escaped strings e.g & show up in subject line of e-mail activity if you apply a template.

KB 914160 – Error when you try to merge accounts – User does not have the appropriate security permissions to view these records or perform the specific action

KB 915343 – Buffer overrun detected – hmm…that doesn’t sounds good - glad I haven’t seen that one yet!

KB 918291 – Export selected customizations - some customizations are not saved


Microsoft CRM KB Article - June Review

One of the things I do occasionally is review the new or updated KB articles relates to CRM – The following are some of the KBs that I found that were more interesting than others. 

KB 916955 – CRM does not synronize the time you entered for the task in CRM with Outlook.  If the task has a due date of today a reminder will not generate if the default task time has already passed.

KB 921389 – E-Mail from internal users not delivered when you configure a CRM queue to receive messages – This is due to Organization Settings – > System Settings – >On the E-mail Tracking tab, click No under Set whether to exclude e-mails between Microsoft CRM users, and then click OK

KB 911459 – Prompted to log back onto CRM in the Service Provider Edition of CRM – I’ve been Looking for this setting!  Registry key AbsoluteTimeoutMinutes  controls the timeout

KB 917930 – URL in a contact form does not appear as a hyper link – it’s due to having the wrong type of field - this KB provides steps to fix.

KB 911392 – View in CRM doesn’t work from Contacts form in the CRM Service Provider edition – We haven’t seen this problem occur “View in CRM” works fine for our sites so there must be some condition that causes users to see this happen – Regardless it’s apparently a known issue now!

KB 921388 – DNS problems can prevent Mobile Services from Starting – Resolution provided

KB 921544 -E-Mail messages don’t get back into CRM from the Exchange Router due to user running routing service not being a domain admin or the exchange server not being in the PRivUserGroup

KB 910242 – Receive error message when try to send or promote an e-mail in CRM – Hotfix available

KB 918609 – A time-out occurs when you import large customizations into CRM – Resolutions provided.

KB 912061 – Some fields not available as search criteria on Advanced Find – We ran into this one glad to see a HotFix became available for it!


CRM with Vista & Office 2007

I’ve been looking for some public source of information on support for Vista / Office 2007 since the info I had was not made public at the time - so I found it!

Simon Hutson says the Sustained Engineering team will be testing it “we will be fully testing the Outlook Client running on Vista and Office 2007. Once testing is complete, any bugs raised will be fixed and a refresh of the Outlook Client for CRM 3.0 will be released.” read more here.

This is great news – it would be a shame to break the momentum

I have seen some comments by other MVPs suggestion that MS shouldn’t spend time getting CRM to work with the Beta’s of Office and Vista but rather wait till it’s released.  I think I have to disagree on that and think the MBS team needs to step up and get more engaged with some of the broader product releases that are upcoming.  This is true both on the development side as well…I think now that they are more closely integrated with the Office teams that will help that along.


Adding Icons to your custom entities

Ben Vollmer posted a couple of good posts on the topic of icons. 

Where to get more icons  and How to upload them


Controlling the Form Assistant

Recently on the news groups Tobin Zebra one of the CRM developers posted the following instructions on how to disable the form assitant globally.

What is really needed in the next version is more ways to control that from the customizations and in a perfect world the ability for a user to set preferences.  Some users want it available all the time others want it disabled and never use it – put the control in the users hands with defaults set by customization.

The following is an excerpt from Tobin’s news group post:

We are considering adding a way to globally disable the form assistant in
the next version of CRM.  Until then you can disable it by updating the
FormXml of the forms that use it.  Here are some instructions that are
being considered for the next release of the V3 documentation:

1.          In Microsoft CRM, on the Navigation Pane, click Settings, and
then click Customization.
2.          In the Customizations area, click Export Customizations.
3.          In the Export Customizations list, select the entity you want
to customize.
4.          On the More Actions menu, select Export Selected
Customizations, and then click OK.
5.          In the File Download dialog box, click Save, select a location
for the Customizations.xml file, for example your desktop, and then click
Save again.
                     Note: Save a backup of the file, so that you can
revert to the original file, if you have to.
6.          Navigate to the Customizations.xml file location and open the
file in a text editor, such as Wordpad.
7.          In the Customizations.xml file replace the
                     relatedInformationCollapsed= "<true or false>"
                     "false" = collapsed by default  
                     "true" = open by default
                     Make sure to use the correct case, because this string
is case sensitive.
8.          Save the Customizations.xml file on your desktop.
9.          In Microsoft CRM, in the Navigation Pane, click Settings, and
then click Customization.
10.       In the Customization area, click Import Customizations.
11.       In the Import Customizations area, browse to the updated site map
file, and then click Upload.
12.       Publish the customizations by going to
Settings/Customization/Customize Entities.  Select all entities that you
modified  and click publish from the toolbar.


Updated Help and SDK

I really think it’s great that the MS CRM team doesn’t make you wait till the next release to get your hands on updated Help and the SDK.

Earlier this week the help was updated and you can download the latest help here.

The SDK was updated at the end of June to Version 3.0.5 – you can download it here.


Understanding Contact Syncronization

One of the more mysterious things that happens in MS CRM is the black magic that synchronizes contacts in CRM with a users contacts in Outlook. 

Recently Kjell-Sverre provided a very detailed discussion on what happens when a contact is deleted – but it also explains a lot of the magic.  The CRM team blogged a bit ago about how to clear the deletion tracking – it again gives more details that are interesting.  You can read their post here.

One of the other great posts on the topic I found was the post on CRM to Outlook field mapping – You can find that here.  We have an import tool that we created that among other input sources imports from Outlook and having some of this information would have been real useful early on!