When running a OCS/Lync Server VOIP Call Details gathering you recieve the following error:
Error running stored procedure SQL Server blocked access to procedure 'sys.sp_OACreate' of component 'Ole Automation Procedures' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'Ole Automation Procedures' by using sp_configure. For more information about enabling 'Ole Automation Procedures', see "Surface Area Configuration" in SQL Server Books Online.
Time:2011-12-12T10:14:49.980Z
Component:OCS/Lync Server VOIP Call Details
HR:80040E14
EventID:{37B505EC-0709-4f3b-A632-02BDEAE83CA0}
Ole Automation Procedures has been disabled on the SQL Server housing the MessageStats Database. This feature is turned off by default but turned on by the OCS/Lync database creation script. Should this feature become disabled you will recieve the above error.
For SQL Server 2005.
For SQL Server 2008