title: ASP.Net Web API returning 500 internal Server Error when iTextSharp namespace included in ApiController.cs file
body: <p>ASP.Net Web API returning 500 internal Server Error when iTextSharp namespace included in ApiController.cs file.
  Other API's which are declared in other controller which does not iTextSharp namespace are working perfectly. Please help.</p>
  <p>Exact Message it returns &quot;The page cannot be displayed because an internal server error has occurred.&quot;</p>
  <p>It is working perfectly on localhost but not when I deployed it on server.</p>
  <p>Also I cannot capture this error in Application_Error()</p>