title: ABCpdf (AddImageUrl) not working in IIS 7.5 for localhost
body: <p>We have been using ABCpdf for years now. In fact we are on version 6.1 still. It has just always worked. But we have recently upgraded to Windows 2008 x64 / IIS 7.5.</p>
  
  <p>Our code that converts HTML pages (Invoices) to PDF now does not work. The basics are that there is a QueryString based URL that renders the Invoice in HTML, this allows us to "preview" it, then to send it to the client we use ASP .NET to execute the ABCpdf code (calling that same URL from the server to the server). This time the output is PDF, and that's what is attached to an email and sent off to the client.</p>
  
  <p>Pretty simple and straight forward stuff right?</p>
  
  <p>This is what we noticed about ABCpdf:</p>
  
  <pre><code>1) PdfObj.AddImageUrl("http://localhost/..."); // Localhost does not work.
  2) PdfObj.AddImageUrl("http://127.0.0.1/..."); // Local IP does not work.
  3) PdfObj.AddImageUrl("http://41.XX.XX.XX/..."); // Live IP does not work.
  Now this:
  4) PdfObj.AddImageUrl("http://www.google.com/"); // Works perfectly!
  </code></pre>
  
  <p>So we know the code and everything about it technically can and does work.</p>
  
  <p>But it seems that any time the AddImageUrl() function calls a location that points to itself, the page does not render and we get "Unable to render HTML. Page load timed out. Unable to load page."</p>
  
  <p>I know it's not to do with the timeout because if I use Fiddler (on the server) to execute the exact same code, it works perfectly.</p>
  
  <p>I suspect this is to do with permissions... what what permissions? I read this: "<em>... this is because ABCpdf uses the Microsoft MSHTML component</em>" but how do I set the permissions on this component. I have already turned off "IE ESC".</p>
  
  <p>What am I missing?</p>