CRM 4 Outlook Client Installation error
While trying to install CRM 4 Outlook Client on a Vista Business laptop I got an error:
C:\Program Files\Microsoft CRM\sql\v3_msde_mscrm.mdf
at
System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType
resourceType, Boolean isContainer, String name, SafeHandle handle,
AccessControlSections includeSections, Boolean createByName,
ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
at System.Security.AccessControl.FileSystemSecurity..ctor(Boolean
isContainer, String name, AccessControlSections includeSections, Boolean
isDirectory)
at System.Security.AccessControl.FileSecurity..ctor(String fileName,
AccessControlSections includeSections)
at System.IO.FileInfo.GetAccessControl()
at Microsoft.Crm.Setup.Client.DatabaseInstaller.Upgrade(Session session)
at Microsoft.Crm.Setup.Client.ClientSetup.UpgradeDatabase(Session session)
Action ended 13:36:15: InstallFinalize. Return value 3.
Looked around the Microsoft CRM newsgroups and found couple of other people are having the same problem, but no solution. So here it is!
Getting the Installer to work
1. Clean up the v3 installation http://www.microsoft.com/dynamics/crm/using/deploy/removeclient.mspx
2. Run v4 installer, let it crash and rollback
3. Go to c:\program files\ -> check if there is a folder called "Microsoft CRM" -> if not -> create it
4. Go to c:\program files\microsoft sql server\MSSQL$CRM\Data
5. Copy mscrm_msde_log.ldf, mscrm_msde.mdf to c:\program files\microsoft crm\sql\
6. Copy mscrm_msde_log.ldf, mscrm_msde.mdf again to c:\program files\microsoft crm\sql\ but this time rename both files to v3_msde_mscrm.mdf & v3_msde_mscrm_log.ldf
7. Run the v4 installer, this will install the Outlook client successfully.
When you run the Configuration tool you might get this error:
Action Microsoft.Crm.Config.Client.InstallAbpAction failed.
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Getting the Configuration Tool to work
You might not need this step if v3 was cleaned up nicely, otherwise follow these steps
1. Clean it up using http://www.microsoft.com/dynamics/crm/using/deploy/removeclient.mspx (only use Steps 5, 7 and 10)
2. Open Outlook -> Tools -> Trust Center -> Add-Ins -> Remove Microsoft CRM
3. Reboot
4. Run the Configuration Tool
Enjoy!