Microsoft Mobile Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 10 November 2009

Exception while trying to execute AsyncOperationId: The request failed with HTTP status 401: Unauthorized.

Posted on 04:44 by Unknown
This error message appears when you are trying to import a file but something is going wrong. There are multiple reasons for this error message to show up. Some reasons which I found on the web include:- See if the account that your Asynchronous Service runs under can authenticate with your SQL Server Service. - If you're using multiple servers, look at something called a Service Principal Name
Read More
Posted in error | No comments

Thursday, 29 October 2009

This time I request some help from you

Posted on 16:43 by Unknown
And now, for something completely different. Usually, at least I hope, you can find the answer to your questions on this blog, but this time I would like to ask you guys for a favor. I’m looking for a sponsor.My little sister Iris Lemmen, 20, doesn’t share my passion for Dynamics CRM. Instead her passion is with Judo. She’s awfully good at it as she has become the Dutch champion for three times.
Read More
Posted in offtopic | No comments

Sunday, 18 October 2009

Close Campaign Response window

Posted on 07:39 by Unknown
Did you ever notice that you will get an warning message when you close a new Campaign Response window? The message you will get is:Are you sure you want to navigate away from this page?Your changes have not been saved. To stay on the page so that you can save your changes, click Cancel.Press OK to continue, or Cancel to stay on the current page.OK CancelYou do get this message because Microsoft
Read More
Posted in error, javascript | No comments

Update owner in Plugin

Posted on 06:56 by Unknown
Here's a code snippet that will help you to update the owner of a record in a plug-in. This code should run in a POST plug-in:SecurityPrincipal assignee = new SecurityPrincipal();assignee.Type = SecurityPrincipalType.User;// PrincipalId is some known Guid belonging to the user or team that will own this record.assignee.PrincipalId = new Guid("476E234C-5E15-DE11-80BA-000C297AF856");// Create the
Read More
Posted in plug-in | No comments

Links in e-mail templates

Posted on 06:13 by Unknown
It is not so hard to get a link in a CRM template, but to hide the link behind your custom text is more difficult. It is possible to do so though. I noticed a small post in the communities by my fellow MVP Adi Katz in which he explains how you can do this. This post does deserve a bit more attention so that's why I am copying the content in this blog post. And now I can find it back as well :)Adi
Read More
Posted in | No comments

Tuesday, 29 September 2009

Document your CRM installation

Posted on 01:38 by Unknown
Everybody knows the importance of documentation of a project. Thanks to Merijn van Mourik and some other guys there is a tool which can help you documenting your solution. This is a free tool which you can download from Codeplex: CRM 4 documentation.If you want to use this tool on a standalone machine or a machine without internet connection, then you should download and install the following
Read More
Posted in customization, metadata | No comments

Wednesday, 2 September 2009

Action Microsoft.Crm.Config.Client.InstallPstAction failed

Posted on 00:24 by Unknown
While installing the Outlook Client, there is one error that appears to be popping up more than others:Action Microsoft.Crm.Config.Client.InstallPstAction failed.LaunchOutlookInstallerProcess failed.There are some blog posts which offer solutions to this error message. If you have this message, try the following:- Run %windir%\system32\fixmapi.exe- Reinstall the client-
Read More
Posted in error, outlook client | No comments

Monday, 29 June 2009

Remove attributes from form which cannot be removed

Posted on 05:32 by Unknown
There are some attributes on CRM default forms which you cannot remove. This post will show you how you can do this anyway. While doing so, please keep in mind that Microsoft must have good reasons to fix attributes on the form. Removing this might have implications, as always have a good backup ready.The steps you need to follow to remove are:- Export customizations for the specific entity-
Read More
Posted in customization, javascript, unsupported | No comments

Wednesday, 17 June 2009

Changing default organisation

Posted on 08:10 by Unknown
You can change the default organisation by opening the configuration manager. In this tool you can rightclick on the organisation which you want to set as default and click "set as default". You'll see that the name of the organisation has changed to: Orgname (default).After you perform an IISReset you would expect the new default organisation to open up when you browse to your CRM server.
Read More
Posted in installation | No comments

Wednesday, 29 April 2009

Change the CRMAppPool Identity

Posted on 07:45 by Unknown
Most likely this is recorded in a thousand places, but I had a hard time finding info about what steps need to be taken to change the identity of the CrmAppPool. All you need to do is:- Create a user in Active Directory- Make sure the user has Domain User rights- Add the user to the PrivUserGroup of CRM- Make sure the user has 'log on as a service' priviledgeThe last step can be executed on two
Read More
Posted in installation | No comments

Automatic provisioning of Organizations

Posted on 02:36 by Unknown
Microsoft CRM does have a separate webservice for doing deployment related activities. There is a Deployment SDK especially for this webservice. You can download that here. One of the activities you can execute is automatic provisioning of new organizations. In this post I'll dive into the code required for this as well as some of the common issues while doing so.Basically following the next
Read More
Posted in installation, sdk | No comments

Thursday, 23 April 2009

Walk through all elements on a form

Posted on 01:08 by Unknown
In some cases it is required to set all attributes on a form to disabled or do some other logic like checking which attribute has been changed. To do this you do need to walk through each attribute of the CRM form. My fellow MVP Mitch Milam has posted the technique to do this more than a year ago:http://blogs.infinite-x.net/2007/11/21/disabling-all-fields-on-a-crm-form/The most important piece of
Read More
Posted in customization, javascript | No comments

Thursday, 16 April 2009

401 Unauthorized when accessing the webservice

Posted on 15:02 by Unknown
While there are many situations in which you can retrieve the error message 401: Unauthorized, there are some more difficult to find than others. Of course you have After you have checked the basic settings including:- Are the default credentials used- Does the user have an account in CRM- Does the user have enough priviledges in CRM- Is Windows Authentication enabled for the CRM website- Is
Read More
Posted in error | No comments

Hiding elements: the next evolution

Posted on 14:35 by Unknown
One of my colleagues, Richard McCormick, has written a blog post for the Avanade internal employees. He has asked me to make this post publically available since it might be interesting for more people. Read on and get great code samples on how to hide attributes, elements and sections.Hiding Links & Controls in CRM 4 Before I go on, I should point out that this solution is technically
Read More
Posted in customization, guest post, javascript | No comments

CRMAsyncService using 100% CPU

Posted on 13:41 by Unknown
With one of my projects I've experienced a situation in which the CRMAsyncService is requiring 99% CPU power. Since this doesn't leave much left for CRM, we needed to get this fixed. One of my colleagues, Maarten Smid, came up with the solution of installing the Service Pack 1 for .NET 3.0. But before this can be installed, some prerequisites needed to be installed.The first step is to install
Read More
Posted in error | No comments

Plugin registration tools for Visual Studio 2005

Posted on 13:34 by Unknown
The newest update of the SDK, version 4.0.8, includes updated projects for the plugin registration tool as well as the plugin developer tool. While I usually am pleased with updates, this update could cause some issues for some people. The updated projects are build in Visual Studio 2008 whereas they used to be build in Visual Studio 2005. This means that you will not be able anymore to run the
Read More
Posted in plug-in, sdk | No comments

Friday, 10 April 2009

Displaying inactive records in associated view

Posted on 05:46 by Unknown
In some situations you do want to show the inactive records in an associated view as well. My fellow MVP George Doubinski wrote an article about how to solve this by using a plugin:http://crm.georged.id.au/post/2008/03/07/Displaying-inactive-records-in-associated-view.aspx.In this post I will show that there are more routes to Rome. I've looked into the option of editing the query which is being
Read More
Posted in customization | No comments

Friday, 20 March 2009

Read-only URL Addressable Form

Posted on 06:10 by Unknown
The SDK does describe URL Addressable Forms, but one thing which I do miss on this page, is details around how to link to a form in readonly format. This is done by using the following URL:http://server/orgname/_forms/readonly/readonly.aspx?objTypeCode=objectTypeCode.Of course you need to change the server to servername, orgname to organization name and the objectTypeCode to the entity object
Read More
Posted in customization, sdk | No comments

Thursday, 12 March 2009

New Statement of Direction paper

Posted on 15:26 by Unknown
Microsoft has just release a new Statement of Direction document. Due to NDA restrictions I cannot share contents of this document (yet), but assuming that you are a partner or a customer, you can download this paper yourself from either of the following locations.Partnersource: https://mbs.microsoft.com/partnersource/marketing/statementofdirection/MD_CRM_SOD.htmCustomersource: https://
Read More
Posted in addons, crm5.0 | No comments

Monday, 16 February 2009

Using Advanced Find for FetchXML builder v4.0

Posted on 07:50 by Unknown
Some time ago I have written an article about how to use the Advanced Find as FetchXML builder. Today I tried using the javascript:prompt() method on a CRM 4.0 deployment and found out that the code doesn't work anymore. This alert script does still work though.javascript:alert(resultRender.FetchXml.value);A slightly different code which might be easier to remember is:javascript:alert(
Read More
Posted in customization, fetchxml, javascript | No comments

Tuesday, 10 February 2009

Setting the focus to a tab

Posted on 04:28 by Unknown
Today me and a colleague worked on setting the focus of a crmForm automatically to a specific tab. After a bit of research we found that this code works:crmForm.all.tab1Tab.click();With this code in mind I looked on the internet and found that my fellow MVP Jim Wang posted that more than a year ago as well :)Anyway, it works!
Read More
Posted in javascript | No comments

Wednesday, 28 January 2009

CRM 4.0 Build Versions

Posted on 05:56 by Unknown
Update: Added Rollup 3For quite a long time Aaron Elder has posted the build numbers for Dynamics CRM. Unfortunately the rollups had not been included in his list yet, though I needed to check on a system which rollup had been installed. You can check that by using the SQL Management Studio and execute the query:select * from BuildVersion"This will return the current version of CRM. When you have
Read More
Posted in installation, rollup | No comments

Friday, 23 January 2009

Error messages in CRM

Posted on 05:31 by Unknown
CRM does give you error messages every now and then. The message is usally in the format of "0x12345678". The numbers do not tell much, but the corresponding error message do help you definitely. These error messages are given in the SDK and on a lot of places on the internet, but there the "0x" has been removed from the error message. Here is the same list as which is listed in the SDK, but now
Read More
Posted in error | No comments

Tuesday, 20 January 2009

Microsoft Surface

Posted on 06:58 by Unknown
Until now I've had a hard time in getting my mind around a real business case where you would be able to use the Microsoft Surface table. Today I got an email message of one of my colleagues who pointed me at a YouTube movie which does show a good business example for the Financial Market. What ideas do you have for using Surface in conjunction with CRM?
Read More
Posted in avanade, surface | No comments

Duplicate process check

Posted on 02:46 by Unknown
If you are creating your own integration module for CRM, then it is very wise to make sure that the process is running only once. For performance reasons you can decide to split the process in multiple threads, but running a single process multiple times can cause quite some unforseen issues.The following code snippet will allow you to check if an application with the same name is running
Read More
Posted in import, migration | No comments

Friday, 16 January 2009

Use PreFiltering in Reports downloaded through Webservice

Posted on 05:45 by Unknown
In my previous post I discussed a Mail-merge alternative: Reports exporting to Word files. The reports downloaded in that approach do not support any pre filtering as CRM reports would allow you to set. It would be great if that can be set as well. This post describes how to do that.The reports created in CRM or for CRM do support the prefiltering. In custom created reports this is added by
Read More
Posted in reports | No comments

Mail-merge alternative: Reports exporting to Word files

Posted on 05:11 by Unknown
CRM 4.0 does offer a lot of new features regarding mail merge, but not all situations are supported by the new features. You can look into 3rd party tools like C360 / MSCRM-Addons or Temptus Wordconnect, but a totally different approach is to use the Reporting Services. This post will dive into how to use Reporting Services to generate word documents.You can create any report in CRM by using the
Read More
Posted in mailmerge, reports | No comments

Log In Name and Password required by Report Server

Posted on 04:44 by Unknown
You can view the CRM reports in Reporting Services by browsing to http://YourReportingServer/ReportServer/. There you should select your organization, select 4.0 and select a report. At that moment you might be asked for a Log In Name and a Password as seen in the image.This behavior appears when you have installed the SRS Data Connector because your deployment contains a separate server for SQL.
Read More
Posted in reports | No comments
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Popular Posts

  • Performance test with 100.000 concurrent users
    Did you know that Microsoft and Dell performed a performance test on Dynamics CRM which included 100.000 concurrent users? They created a wh...
  • Quick Yammer & CRM Demo
    Most, if not all of you, know that Microsoft has acquired Yammer in June 2012. Now Microsoft has released the integration between Yammer and...
  • Guest star on mscrm team blog
    Jim Glass e-mailed me some time ago. This was the content:Ronald, would you like to be the CRM Team blog guest blogger for February? You can...
  • MS CRM SDK 3.0.4
    Microsoft posted the newest version of the SDK for MS CRM 3.0 yesterday. We're on version 3.0.4 now.Download the SDK here.OverviewThe Mi...
  • CRM Blog World Updated
    One of the most viewed pages on my blog is still the Blog World. When Dynamics CRM wasn't called Dynamics CRM yet, I have started to gat...
  • AttributeInfo.TypeName(int) != AttributeMetadata.Type.Name(float)
    You might bump into an error message while importing an entity from a customizations file. The error show could be:Error: lead: AttributeInf...
  • It's been a while
    At the moment I'm at the MVP Summit spending time with a bunch of great minds in the industry. One of the guys made me realize that it...
  • Unexpected 401 when using NetworkService in Web Service call
    When you are calling any CRM Web Service and you decide to specify your own credentials by using a new instance of NetworkCredential, then y...
  • Wintersport
    It's been a while since my last posting. Well, for that I do have a good reason. I've been in France, Alpe d'Huez, for a week fo...
  • Convergence Update
    This event is amazing!I'm astonished by the set-up of this event, the attendees and all the good news which is being announced. I just a...

Categories

  • addons
  • article
  • async
  • avanade
  • azure
  • biztalk
  • blog
  • callout
  • convergence
  • crm5.0
  • customization
  • dotnetmag
  • enterprise
  • error
  • events
  • ExactTarget
  • excel
  • export
  • fetchxml
  • guest post
  • hotfix
  • import
  • installation
  • isv.config
  • javascript
  • live
  • lookup
  • mailmerge
  • metadata
  • migration
  • mobile
  • mvp
  • office
  • offtopic
  • outlook client
  • performance
  • platform
  • plug-in
  • reports
  • rollup
  • sdk
  • SharePoint
  • sqlserver
  • surface
  • titan
  • training
  • unsupported
  • virtualpc
  • whs

Blog Archive

  • ►  2013 (3)
    • ►  August (1)
    • ►  February (2)
  • ►  2010 (19)
    • ►  October (3)
    • ►  July (2)
    • ►  June (3)
    • ►  May (3)
    • ►  April (5)
    • ►  March (1)
    • ►  January (2)
  • ▼  2009 (28)
    • ▼  November (1)
      • Exception while trying to execute AsyncOperationId...
    • ►  October (4)
      • This time I request some help from you
      • Close Campaign Response window
      • Update owner in Plugin
      • Links in e-mail templates
    • ►  September (2)
      • Document your CRM installation
      • Action Microsoft.Crm.Config.Client.InstallPstActio...
    • ►  June (2)
      • Remove attributes from form which cannot be removed
      • Changing default organisation
    • ►  April (8)
      • Change the CRMAppPool Identity
      • Automatic provisioning of Organizations
      • Walk through all elements on a form
      • 401 Unauthorized when accessing the webservice
      • Hiding elements: the next evolution
      • CRMAsyncService using 100% CPU
      • Plugin registration tools for Visual Studio 2005
      • Displaying inactive records in associated view
    • ►  March (2)
      • Read-only URL Addressable Form
      • New Statement of Direction paper
    • ►  February (2)
      • Using Advanced Find for FetchXML builder v4.0
      • Setting the focus to a tab
    • ►  January (7)
      • CRM 4.0 Build Versions
      • Error messages in CRM
      • Microsoft Surface
      • Duplicate process check
      • Use PreFiltering in Reports downloaded through Web...
      • Mail-merge alternative: Reports exporting to Word ...
      • Log In Name and Password required by Report Server
  • ►  2008 (36)
    • ►  December (2)
    • ►  November (1)
    • ►  October (3)
    • ►  September (7)
    • ►  July (6)
    • ►  June (1)
    • ►  May (1)
    • ►  March (4)
    • ►  February (4)
    • ►  January (7)
  • ►  2007 (61)
    • ►  November (2)
    • ►  October (5)
    • ►  August (1)
    • ►  July (3)
    • ►  June (6)
    • ►  May (6)
    • ►  April (8)
    • ►  March (11)
    • ►  February (12)
    • ►  January (7)
  • ►  2006 (53)
    • ►  December (4)
    • ►  November (5)
    • ►  October (7)
    • ►  September (3)
    • ►  August (6)
    • ►  July (4)
    • ►  June (6)
    • ►  May (1)
    • ►  April (1)
    • ►  March (6)
    • ►  February (2)
    • ►  January (8)
  • ►  2005 (30)
    • ►  December (3)
    • ►  November (5)
    • ►  October (7)
    • ►  September (6)
    • ►  August (3)
    • ►  July (6)
Powered by Blogger.

About Me

Unknown
View my complete profile