CONSENT OF ERNST & YOUNG LLP
Published on June 7, 2012
Exhibit (n)(1)
Consent of Independent Registered Public Accounting Firm
We consent to the reference to our firm under the captions Selected Consolidated Financial and Other Data, Senior Securities and Independent Registered Public Accounting Firm and to the use of our reports (a) dated March 7, 2012, with respect to the consolidated financial statements and financial highlights of Triangle Capital Corporation as of December 31, 2011 and 2010 and for the three years ended December 31, 2011, and the consolidated financial highlights for each of the five years in the period ended December 31, 2011; (b) dated March 7, 2012, with respect to the effectiveness of internal control over financial reporting of Triangle Capital Corporation as of December 31, 2011 and (c) dated June 7, 2012 with respect to the senior securities table of Triangle Capital Corporation as of December 31, 2011, in Post-effective Amendment No. 3 to the Registration Statement (Form N-2 No. 333-175160).
/s/ Ernst & Young LLP
Raleigh, North Carolina
June 7, 2012