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

Hi,

Got this error while installing CRM 4.0.

Two possible resolution for it

http://ronaldlemmen.blogspot.com/2008/01/failure-at-microsoftcrmsetupcommonregis.html
http://blog.kazmarek.com/2008/02/06/crm-40-installation-error-registerasyncserviceaction-failed/

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.

cd\windows\system32
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.
Bye…

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

Hi,

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.

Bye…

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

http://msdn.microsoft.com/en-us/library/ms143799.aspx

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

SELECT @@SERVERNAME AS ‘Server Name’

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

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

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.

Bye…

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

http://support.microsoft.com/kb/949092
http://support.microsoft.com/kb/300956/

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 !!

Bye..

Important urls in Microsoft Dynamics CRM 4 for quick reference

Hi,

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 !

http://sharepointsix.blogspot.com/2007/06/microsoft-crm-30-integrating-crm-into.html

Bye…

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. 

Bye…

Read Only Tab in CRM

Hi,

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;

}

catch(E){}

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

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

toggleDisabled(el.childNodes[x]);

}

}

}

// call the function

toggleDisabled(el);

To hide and setting a parituclar tab as default

http://mscrm4ever.blogspot.com/2008/09/crm-40-tab-how-to-tips.html

Bye…

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

http://msdn.microsoft.com/en-us/library/cc905759.aspx

And this thread as well

http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/1e882967-002f-4621-ba14-0f7e3744c323 

Bye…

Showing Scrollbar for Custom Pages in CRM

Hi,

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.

http://eastoceantechnical.blogspot.com/2008/08/show-scrollbar-on-mscrm-titan-for_24.html

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

Bye..