Category Archives: Error

How – To Series 18: Error – Failed to insert audit record

Hi all,
Recently, we were getting following error while trying to work with any CRM record in our non-prod environment. Prior to that day, we bulk updated huge set of records (~300K) which might have contributed to this issue.

          We started looking into CRM Trace Logs and found following error info. This info doesn’t give much info to resolve the issue.

“Failed to insert audit record”

 [Microsoft.Crm.Audit: Microsoft.Crm.AuditCreateUpdatePlugin]

         We then looked into SQL Logs and found following error info:

The transaction log for database ‘ORG_MSCRM” is full due to ‘LOG_BACKUP’.

This error info helped us in resolving the issue by increasing the disk space for the log file.  It indicated bulk updates in CRM resulted in rapid growth of Log file of the CRM ORG DB.

Hope this helps..!!

How – To Series 17: MS CRM 2013 Installation Errors

Hi all,
I was trying to do In place upgrade for MS CRM 2013 on my test server and I was getting following errors1. Setup asking for Reboot even after couple of restarts.“Error| Setup cannot continue because there is a pending restart required. Restart the computer and then try running Setup again.”


I went through Error Log located @ C:Users<User>AppDataRoamingMicrosoftMSCRMLogs


Following is the error log which says SkyDrive requires an uninstall. Even after uninstalling Skydrive explicitly the problem persists.

03:40:11|  Error| Reboot required — Key Found: HKCUSoftwareMicrosoftWindowsCurrentVersionRunOnce contains Uninstall C:UsersAdministratorAppDataLocalMicrosoftSkyDrive16.4.6010.0727
03:40:14|  Error| Setup cannot continue because there is a pending restart required. Restart the computer and then try running Setup again., Error, OK

03:40:14|   Info| InputResult: OK


Solution:
Following Support Article helped resolving the issue. Article talks about “MS CRM for Outlook” installation. However, this applies to MS CRM installation also.
We just need to remove registry keys mentioned under the specified registry hive. This resolves the problem.
http://support.microsoft.com/kb/2004114

2. Setup System check fails as the selected CRM 2011 organization for upgrade is using CRM 4.0 end points in web resources.

Solution:
We need to upgrade legacy code first in order to do the installation. So, it looks like Microsoft made it mandatory for the code upgrade from unsupported code(may be not every unsupported code). As it is a test server(Lazy enough to find an excuse), I have opted a Vanilla CRM Organization for the upgrade.

Hope it helps…!!! 🙂