Verify Domain User account SPN for the Microsoft Dynamics CRM ASP.NET Application Pool account


Hi,

Got this warning while installing CRM 4.0  ! This warning comes when we specify a domain account instead of network service account for application pool. To get through this error follow this post http://billoncrmtech.blogspot.com/2008/08/now-i-am-master-tips-for-running-crm-40.html

Bye..

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

Sort SPFolder in SharePoint


We developed a web part showing the folders hierarchy using tree view control. However the folders were not getting displayed in the tree view node in the order they are visible inside the document library i.e. sorted on name.

Creating a tree view

http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?List=f0e16a1a-6fa9-4130-bcab-baeb97ccc4ff&ID=115

So finally used the following code to sort the folders

List<SPFolder> folderList = new List<SPFolder>();

foreach (SPFolder myFolder in folder.SubFolders){

folderList.Add(myFolder);

}

folderList.Sort(delegate(SPFolder p1, SPFolder p2) { return p1.Name.CompareTo(p2.Name); });

For more information on sorting

http://www.developerfusion.com/code/5513/sorting-and-searching-using-c-lists/

Bye..

Nishant Rana's Weblog

Everything related to Microsoft .NET Technology

Skip to content ↓