Error 0x80040201 Sending e-Mail From Outlook

When attempting to send an e-mail from Outlook, I received the following error message:


I use several accounts in my Outlook profile, and have previously read that a support article on the microsoft support site recommended to delete and re-create my outlook profile. A number of different sites when I googled “outlook error 0x80040201” seemed to indicate the same thing; delete and re-create my Outlook profile. One of these days I’ll get around to deleting and re-creating all four of my profiles some day…

I could have tried what everyone else did – delete and re-create the Outlook Profile:

…but my issue seemed limited to outbound e-mails that either had an attachment (but only to certain people for some reason) or e-mails with embedded graphics and more than 500k, so I had a difficult time believing it was a corrupt profile.
So, when today I tried to send an e-mail, a very important one, and when the issue persisted, I thought I would dig a little deeper as it was a non-work day, and came up with the following:

On outbound e-mails for addresses that I have typed before (and according to the microsoft articles that suggested I re-create my profile – to addresses that weren’t contacts) I would have an alias instead of the actual e-mail address, even though they may not have existed as contacts in my default outlook contact profile. What I started thinking was that if the address was indeed an exchange ‘in-memory’ address as according to this article:
I tried all suggestions, but it didn’t work for me. What I found was that Outlook still had some Exchange adresses in ‘ it’s memory’ and the message to be sent included an exchange adress, whereas exchange was not being used anymore.
This could happen on systems which have used Exchange but have changed back to POP3 E-mail delivery.
Checking the to-be-sent messages is the key, remove the adresses that are exchange adresses and substitute them with the real POP E-mail adresses.
Kind regards,
Martijn Arns
Brainquiry / Brain Resource Company
Netherlands /

…then why not use the ‘Delete a Name From Auto-Complete’ feature of outlook, in which you:
1. Select the unwanted name or e-mail address by using the UP ARROW or DOWN ARROW key.
2. Press DELETE.


…and viola – PROBLEM FIXED. I didn’t even need to take the rest of my Sunday away from my family to uninstall outlook, re-install my entire OS because I was dumb enough to download some ‘free registry cleaner…’ or re-create my profile(s).
I certainly hope I can save someone time so they can spend it with their family, like I did with mine today!

Microsoft CRM Consultant
Unitek Microsoft CRM Services

Failure When Upgrading to The CRM 4.0 Outlook Client

If you’ve upgraded to Microsoft CRM 4.0 and your users lose their Microsoft CRM functionality in the Outlook client, try these steps to correct the problem:

  1. In Outlook, go to Tools -> Customize.
  2. Click the Toolbars tab.
  3. Remove the CRM tool bar listing.
  4. Click on each other toolbar listing and click Reset on each one.
  5. Click the Options tab and click the “Reset menu and toolbar usage data”.
  6. Close this box.
  7. Click Tools->Trust Center.
  8. Click Add-Ins in the left navigation bar.
  9. At the bottom of this screen, choose “COM Add-ins” then the “Go” button.
  10. Click on the CRM Dynamics item then click the “Remove”.
  11. Close Outlook.
  12. Open Outlook and verify that the CRM menu bar and task bar items are removed.
  13. Go to Tools->Trust Center.
  14. Click Add-Ins in the left navigation bar.
  15. At the bottom of this screen, choose “COM Add-ins” then the “Go” button.
  16. Click Add and add the CRM add-in back by navigating to the install location (by default this is C:Program FilesMicrosoft Dynamics CRMclientbincrm) and choose the file “crmaddin.dll”.

This has been the fix for all of our Microsoft CRM 3.0 clients that upgraded to Microsoft CRM 4.0!

Microsoft CRM Consultant
Unitek Microsoft CRM Services

How to Add Services and How to Add Rules and Resources For These Services in CRM 4.0 – Part 1

Over the next few blog entries I will discuss how to define services that your organization provides, and how to resources and rules are added to these services to ensure that Microsoft CRM 4.0 selects the appropriate resources.

Defining Services Concepts

  • Services are types of work that are scheduled and sold to customers.
  • Users define the services that the organization provides to customers and assign which users, facilities, and equipment are required to perform the services.
  • Users can schedule services with customers as service activities.

Selecting the Resources that Perform Services
For each service your organization offers, users can select the resources required, either as individual resources or as resource groups, to perform the service. To select resources, users create selection rules for the service that details what combination of individual personnel, equipment, and facilities, or resource groups is required when someone schedules this service.

For example, a user can set up a rule that a bike repair requires a bike technician and a specific set of tools.

Resource Selection Rules
In its simplest form, a selection rule is the list of users, facilities, or equipment that are required to perform a service for a customer and the rules that select them.

You can define resources by how busy they are, and whether the resources are from the same site or location.

For each service, you define at least one selection rule and select one or more users, facilities, and equipment to perform it. Using conditional sub-rules, you can further refine the resource selection. Microsoft CRM 4.0 displays your selection rules in a tree view.

A Resource Selection Rule defines the number and method for selecting resources within a group in addition to the amount of work required for a specific service. Additionally, the Resource Selection Rule also defines how resources are supposed to be used for a specific Service.

  • The Resource Selection Rule defines how to select members of a Resource Group or team.
  • It is also the link between a service and its resources
  • It can be as simple as delegating one specific resource to a service or as complex as choosing X number of resources based on their skill level, how busy they are, and an additional resource by minimizing cost.
  • Resource assignment rules including the defaults such as Least Busy and Most Busy.

Understanding the Difference Between ALL and a Quantity in a Selection Rule
Although you can consider ALL and Quantity similar to Boolean operators, they do not function identical to the operators.

In a selection rule, ALL can mean either of the following:

  • If the rule is followed by a list of resources, then every resource listed is selected.
  • If the rule is followed by sub rules, then every sub rule is observed.

Examples of selection rules that use ALL
The following rule requires all of the technicians in the resource group (no matter how many technicians are members of the group):

Rule – Select ALL from Technicians Resource Group

The following rule requires 1 technician and 2 interns:

Rule – Select ALL from

Sub-rule 1 – Select 1 Technicians Resource Group

Sub-rule 2 – Select 2 Intern Resource Group

The following rule requires all of the technicians in the resource group as well as
2 Tool Sets and 1 Tech Manual:

Rule – Select ALL from

Sub-rule 1 – Select ALL Technician Resource Group

Sub-rule 2 – Select ALL from

Sub-rule 2a – Select 2 from Tool Sets Resource Group

Sub-rule 2b – Select 1 from Tech Manual Resource Group

An example of a selection rule that uses a quantity
The following rule creates several possible combinations or choices from different resource groups:

Rule – Select 2 from

1 member of Senior Technician Resource Group or a set of 2 members of Technicians Resource Group

If you enter a quantity in the selection rule, the rule selects from a combination of all the sub rules under it that define equivalent resources. For example, one senior technician might equal two technicians or three interns. The quantity in the rule must be equal to or less than the quantity of sub rules or resources listed under it.

Types of Selection Rules
By using selection rules with ALL, a quantity, or a combination of both, you can create different types of selection rules:

  • Simple selection rules. These rules require resources from a list of equal resources, both individuals and resource groups.
  • Compound selection rules. These rules require a combination of resources, each selected by a sub rule.
  • Complex selection rules. These rules require resources that follow multiple sub rules.
  • Nested selection rules. These rules require resources that follow multiple sub rules within sub rules.

In the future blog entries, we will go through each one of the above rules.

Microsoft CRM Consultant
Unitek Microsoft CRM Services

More Than 8 Tabs on a Microsoft CRM Form

Attempting to get the most use out of business unit or security role specific tabs usually depends on being able to manage a tab or in some cases a ‘section’ for each group. The main risk usually here is that A) It often gets confusing managing all the forms scripting when each business unit or security role has its own section or tab, and B) there is a limitation in Microsoft CRM 1.x, 3.0 and 4.0 (5.0 will likely be the same).

For those of you who are willing to take this risk, it’s important to understand that the following change is not supported by Microsoft, and when you upgrade from your current version (5.0 is right around the corner) below is a method for getting around the 8 tab per form limit. It is noteworthy to say that during the imminent upgrade, you will likely have to take the sections on tabs 9-x and for the purposes of your upgrade, you will have to take each section on your form and double click on it to temporarily move that section to a tab 1-8 (actually it’s 0-7), and post-upgrade you may be able to re-apply the below and still have more than 8 tabs.

One more thing, it has been noted by Dynamics design team that there was no noteworthy reason to have the 8 tab limitation, but just as noteworthy that your unsupported change will indeed cause issues if you do not reduce your max tabs down to 8 before attempting an upgrade.

In: C:Program FilesMicrosoft CRM ServerCRMWebToolsFormEditor find your formeditor.aspx and select “edit.” Find the JavaScript variable “_iMaxTabs” and notice that it is set to 8. Change the value to your desired limitation, save and close, reset IIS and you should then be able to create the additional tabs needed from within the forms customization area.

Happy CRM’ing!!!

Microsoft CRM Consultant
Unitek Microsoft CRM Services

Maximizing Your Sales with Microsoft Dynamics CRM 4.0

Maximizing Your Sales with Microsoft Dynamics CRM 4.0I don’t know whether anyone still reads books anymore but I’d thought I would recommend one.

Maximizing Your Sales with Microsoft Dynamics CRM 4.0

The book explains, in concise, easy-to-understand language, how to get the most out of this helpful crm software. Topics like working with contacts and accounts, managing opportunities and schedules, writing letters, sending emails, running reports, and more are explored in-depth. With this book and Microsoft Dynamics CRM 4.0, you’ll also be able to perform numerous other functions that will speed up your workflow and keep customers happy:

You’ll learn to:

  • Create price lists and discount codes to manage pricing
  • Generate quotes, orders and invoices for sales
  • Track competitor information
  • Automate correspondence using Outlook and Word
  • Create marketing lists of leads, accounts and contacts
  • Track the effectiveness of your marketing efforts
  • Much more!

I would also like to mention that Edward Kachinske attended our 6 day Microsoft CRM boot camp; this is what he had to say about us “DG, the CRM Practice Manager from Unitek, was a great resource while writing this book. He’s one of the premier Microsoft CRM trainers, and if you ever get the opportunity to take a class from him do so.”

To purchase this book visit

For more information on an upcoming Microsoft CRM Boot Camp please click here.

Customize Microsoft CRM 4.0 Tool Bar by Adding a Custom Button

After my last post (Customize Microsoft CRM 3.0 Tool Bar By Adding A Custom Button), I had a few inquiries as to how to customize Microsoft CRM 4.0’s tool bar. So in this post I will walk you through all the steps necessary to accomplish this in Microsoft CRM 4.0.

High level steps:

  1. Add a new webpage for the button. In the last post, I showed how to create a new virtual directory under IIS. In this post I will just add a new webpage to the ISV folder.
  2. Edit the ISV Config file to add the button to the Lead form Action Tool Bar

Add the code for the button

The best practice is to create a directory with the name of your company in the ISV directory and then create a directory with the name of the application (button) you are adding to CRM. In this example, I have created an html file that simply outputs a message when clicked. Create the directories


Place the code for the button in the above directory


Edit the ISV Config to add the button to the tool bar

Tool Bar Custom Button

We will place the button on the Lead Form’s Action Bar

If you have not done so, you need to enable ISV customization:

  1. From the Navigation Pane, click Settings, click Administration, and then click System Settings.
  2. Select the Customization tab.
  3. Locate the Custom Menus and Toolbars section and click the lookup button.
  4. Select all of the available values.
  5. Click OK.
  6. Click OK to save the System Settings.
  7. Close and re-open Microsoft Dynamics CRM 4.0 or just hit the F5 function key to reload.

Next we will edit the ISV Config file. For obvious reasons, please make a copy of this file as a backup before you edit it.

To edit this file you would have to export it from in Microsoft CRM 4.0. Once you exported it, make sure that you create a backup copy.

  1. From the Navigation Pane, click Settings, then click Customization, then click Export Customizations.
  2. Select the ISV Config
  3. On the Actions toolbar, click select Export Selected Customizations.
  4. Click OK to acknowledge the dialog box describing what will be exported.
  5. The file download dialog box appears. Click Save
  6. In the Save As dialog box, enter ‘ISVConfig’ in File name. Click Save
  7. Click Close
  8. Make a copy of the file and rename to
  9. Open the file
  10. Extract the customizations.xml file to a convenient location

Once you have created the backup copy, edit the ISV config file (customizations.xml extracted above) as follow:

Place the following node:

Tool Bar Custom Button

Tool Bar Custom Button

Save and close.

Now go to Microsoft CRM 4.0 and import this edited ISV.config file into Microsoft CRM.

Refresh Microsoft CRM 4.0.

Check this capability by opening a Lead record to see the button you just added.

Microsoft CRM Consultant
Unitek Microsoft CRM Services

New Microsoft CRM 4.0 Book Coming Soon!!

There have been some really good books written for Microsoft CRM 3.0 and CRM 4.0 but there’s another one on the horizon that will address CRM 4.0 in great detail. The book is titled “Maximizing Your Sales With Microsoft CRM 4.0” and is written by Edward Kachinske and Timothy Kachinske.

You can purchase from Amazon

Edward Kachinske has written a number of books for Microsoft products, as well as other manufacturers. Click here to see his collection at

If you are a CRM consultant who needs to get up to speed quickly on CRM 4.0 or if you’re an end user or administrator for CRM 4.0 at your company, this book is a must!

Microsoft CRM Consultant
Unitek Microsoft CRM Services

Sales Statistics About Microsoft CRM

I learned some new numbers and statistics about Microsoft CRM:

  • There are now 14,000 customers and 775,000 users worldwide
  • Microsoft added 4,000 customers and 225,000 users in FY08
  • There are 500 Microsoft Dynamics CRM Online customers

This means that Microsoft has about 1/3rd the customer base that SalesForce has (SalesForce has 43,000 customers). We’re catching up !!

Unitek’s New Free Microsoft CRM Add-On!

Unitek’s Microsoft CRM Training Team periodically supplies FREE, useful tools for the CRM community! There is no charge to download and use these tools, either for yourself or your clients, but we do require that you complete a simple contact information form so that we can track the popularity and use of the specific tools.

We developed a method that gives users the ability to search Leads and Contacts simultaneously, with a single search. And as is our way, we want to share with the rest of the CRM community.

Here’s how it works.
Download your FREE CRM Add-On

We are interested in hearing your input on the Add-On, please feel free to comment below.

What other Microsoft CRM Add-On’s would you like to download?

Microsoft CRM Certifications and Technical Education

I was shocked to learn that a local Bay Area elementary school had recently looked into adding Microsoft A+, Net+, and Security+ to their list of elective courses to take during their school year. I was aware that this was being implemented at the high school and community college levels, but ELEMENTARY! That’s simply incredible.

It was reported by Daniel Margolis of that, educationally speaking:

  • 33% of IT Professionals with certifications have obtained a Bachelor’s degree
  • 21% have a Master’s degree
  • 10% percent have received some technical training (no college degree)
  • 13% of you have earned a high school diploma

That’s 23% that don’t have college degrees and are actively working in the industry. Imagine 10 years from now… all these new “whipper snappers” will have a leg up on that 23%. Of course, that’s the beauty of educational evolution. With the inclusion of IT education and certifications to elementary, middle, and high school students, these numbers relating to Master’s and Bachelor’s degrees should be on the rise in the coming years.

So what do you do if you don’t already have the BA or MA degree? Take a certification course that gives you those missing college credits. Take a class with Unitek because we can now offer college credits for completing our Microsoft CRM 4.0 Boot Camp!

Aside from information about college credits and applicable degrees, I’m repeatedly asked about what certifications are the best to obtain? Industry experts say that Microsoft CRM certifications are on the rise and it’s quickly becoming the most popular avenue for new and experienced consultants, IT pros, and systems administrators. But how do most IT professionals decide on a particular certification? Cost, cost, and, oh yeah… how much does it cost?

If you base a certification on price, the cheapest certification would seem to have the most value and asking for a low budget approval is usually easier than the alternative. However, certifications have continued benefits like:

  • Opening doors to new jobs, careers, and opportunities
  • Adding value to your resume
  • Solidifying your position as a certified professional in an area that the company holds near and dear to their hearts, like Microsoft CRM.

But having a certification isn’t typically enough to land the perfect job. Reaching your professional goals require:

  • Microsoft Training
  • Microsoft Certification
  • Converting certification into jobs…jobs into experience…and experience into a career!

One of the most important things to consider when choosing an area of study is the link between certifications. Thankfully, Microsoft Dynamics’ offers certifications for Applications, Installation, Customization, Extending CRM, and more. These are also partnered with other certifications under the Dynamics and Microsoft Corporate umbrellas. (, C# development, MCSE/MCSA, etc…)

Jonathan of was quoted as saying, “Each training and certification decision helps to build capabilities and flexibility in your areas of interest and opportunity. Vendor-neutral certification gives breadth, while vendor-specific certification provides depth. In a multi-vendor environment, the mix of neutral and specific certifications offers flexibility. A mix indicates that you have carefully built a foundation of strong competencies. You should especially consider attractive add-on certifications, such as project management, that show employers you are multi-faceted.” I say…”Well put, Jonathan!”

So, what’s important to you? The degree? The certification? Boss told me to get it done or get lost? All of the above? If so, call Unitek’s CRM team NOW so we can help drive you, AND your career, in the right direction.

Microsoft CRM Consultant
Unitek Microsoft CRM Services