Action Microsoft.Crm.Setup.Common.RegisterAsyncService Action Failed


Got this error while installing CRM 4.0.

Two possible resolution for it

Restarting the server didn’t solve the problem. Than tried rebuilding the performance counter.

To rebuild all Performance counters including extensible and third-party counters in Windows Server 2003, type the following commands at a command prompt. Press ENTER after each command.

lodctr /R
It also didn’t help. So manually started the async service using domain admin user.
This way i was able to get it installed properly.

Action Microsoft.Crm.Setup.Server.GrantConfigDBDatabaseAccessAction failed. Windows NT user or group ” not found. Check the name again.


I was facing this issue while installing CRM 4.0.

It was saying that ‘domain\NRANA-VN$’ not found. So i tried creating a new login with the same name for which i was getting the error. But it was not allowing me to create a new login saying ‘ Security Principal already exists’. Than i just tried renaming an existing account ‘domain\SM-VN$’ to’domain\NRANA-VN$’ and it worked fine. The error was resolved.


Error : instance name must be same as computer name while installing CRM 4.0

Hi i was recieving this error while installting crm 4.0.

This is how i resolved it

Running the following command was giving the name as ‘DASDS’


where as the name of the sql server was ‘NRANA’

So ran the following command
sp_dropserver ‘DASDS’
sp_addserver ‘NRANA’, local

followed by

SQL Server service restart.

After this SELECT @@SERVERNAME AS ‘Server Name’ gave me the new name.

I mentioned the same name during the installation of CRM 4.0 and the error was resolved.


The type initializer for ‘Microsoft.Crm.LocatorService’ threw an exception. Input string was not in correct format in CRM 4

Hi ,

Was getting the error while trying to install CRM 4.0.

The following is the kb article for the same

Tried first by repairing/reinstalling dotnet framework 3.0, however the error was not resolved.

Than tried the second method of rebuilding the performance counter, and that worked !!


Important urls in Microsoft Dynamics CRM 4 for quick reference


While browsing got this information, so  thought better share it

Accounts – http://server:port/orgname/_root/homepage.aspx?etc=1
Contacts – http://server:port/orgname/_root/homepage.aspx?etc=2
Opportunities – http://server:port/orgname/_root/homepage.aspx?etc=3
Leads – http://server:port/orgname/_root/homepage.aspx?etc=4
Marketing List – http://server:port/orgname/_root/homepage.aspx?etc=4300
Reports – http://server:port/orgname/CRMReports/home_reports.aspx
Activities – http://server:port/orgname/workplace/home_activities.aspx
Calendar – http://server:port/orgname/workplace/home_calendar.aspx
Articles – http://server:port/orgname/workplace/home_answers.aspx
Queues – http://server:port/orgname/workplace/home_workplace.aspx
Competitors – http://server:port/orgname/_root/homepage.aspx?etc=123
Products – http://server:port/orgname/_root/homepage.aspx?etc=1024

Sales Literature – http://server:port/orgname/_root/homepage.aspx?etc=1038
Quotes – http://server:port/orgname/_root/homepage.aspx?etc=1084
Orders – http://server:port/orgname/_root/homepage.aspx?etc=1088
Invoices – http://server:port/orgname/_root/homepage.aspx?etc=1090
Quick Campaigns – http://server:port/orgname/MA/home_minicamps.aspx
Campaigns – http://server:port/orgname/MA/home_camps.aspx
Cases – http://server:port/orgname/CS/home_cases.aspx
Contracts – http://server:port/orgname/_root/homepage.aspx?etc=1010

Services – http://server:port/orgname/_root/homepage.aspx?etc=4001
Advanced Find – http://server:port/orgname/AdvancedFind/AdvFind.aspx

CRM Help – http://server:port/orgname/help/default.aspx

Customization Menu – http://server:port/orgname/tools/systemcustomization/systemcustomization.aspx
Entity Customization DataGrid – http://server:port/orgname/tools/systemcustomization/systemcustomization.aspx?PID=01
Import Customizations – http://server:port/orgname/tools/systemcustomization/systemcustomization.aspx?PID=03
Export Customizations – http://server:port/orgname/tools/systemcustomization/systemcustomization.aspx?PID=03


Thanks to Douglas Leung !


Dynamic Values in Workflow in CRM 4

We were facing an issue today; the issue was something like this

We were sending mail in one of our workflow, in the to field of the workflow we had set multiple users name as dynamic values. But we found that mail was being sent to only one user, i.e. the first user only.

Than we found out that if we add multiple values in Look For dialog box and click on ok to add all those together, only the first field having value would be picked by workflow.

For e.g. if I add (created by), (manager of the user field) in the look for dialog box and click on ok to add them together, the workflow would only pick the value for first field i.e. (created by) field for which value exists. It would ignore the manager of the user field. 

However if we add them separately i.e. first add (created by) field and then look for (manager of the user field) and add that field than we could have values for both the field. 


Read Only Tab in CRM


This is something i tried for setting all the fields within a tab as read only or disabled !

// get the div element corresponding to tab, first tab would have index Tab0, second as Tab1 and so on ..

var el=document.getElementById(‘Tab2’);

// create a recursive function

function toggleDisabled(el) {

try {

el.disabled = el.disabled ? false : true;



if (el.childNodes && el.childNodes.length > 0) {

for (var x = 0; x < el.childNodes.length; x++) {





// call the function


To hide and setting a parituclar tab as default


Custom pages and Relative URL’s in Microsoft Dynamics CRM 4

As suggested my Microsoft we would be deploying our custom pages in ISV folder within CRM’s virtual directory i.e. CRMWEB.

Now within our site map or isv.config if we are referring to the page using relative url

i.e. /ISV/HelloWorld.aspx, what CRM would do is append Organization Name to the url.

Now as long it is an aspx page, things would be fine. However if it is an html page we would get “Page not found error”. And for html page we need to use Absolute url, for them to work fine! 

Check out this url as well

Using Microsoft Dynamics CRM URLs

And this thread as well 


Showing Scrollbar for Custom Pages in CRM


We wanted to add a default home page to CRM web application. So for that added the following SubArea element in the SiteMap.

<SubArea Id=”nav_home” ResourceId=”Homepage_Home” Title=”Glossary” Icon=”/_imgs/area/18_home.gif” Url=”http://localhost:5555/CRMGlossaryFramePage.htm&#8221; Client=”Web” Description=”CRM Glossary” />

However the problem we were facing was that the page being too long, but still the scrollbars were missing.

Finally found this post that solved the problem.

The solution was to point to a page having an iframe and making that iframe to point to the original page !