Run Report issues 10.1

Discussion created by slcemcphee33 on Dec 14, 2012
Latest reply on Dec 20, 2012 by slcemcphee33
I am trying to open a report using the Run Report Command:
        Dim pUID As UID = New UID
        Dim pCmdItem As ESRI.ArcGIS.Framework.ICommandItem
        pUID.Value = "{2E6D5D18-7606-4246-8953-A56410C43E8A}"
        pCmdItem = My.ArcMap.Application.Document.CommandBars.Find(pUID)
        If Not (pCmdItem Is Nothing) Then
        End If

This worked just fine in my add-in for ArcMap 10.0, but now at 10.1 it crashes ArcMap....sometimes. Other times it works as expected.

Does anyone have any insight?