I have had some long standing code which has worked fine for quite some time. Recently it began generating the following error. 1st on a asp site and later on a .Net MVC site. Neither of which have changed. I really curious as to why the this error now is rising. I am hoping this post will be of use to someone in the future since the solution was difficult to find searching the error itself.
Error: ABCpdf error '80070000' Unable to render HTML. Unable to get printer device-mode size. Microsoft XPS Document Writer Windows error 5. Access is denied.
Some research suggest that it is because the xps writer is not installed but this was not the case or that permissions were set up incorrectly.
http://www.websupergoo.com/support.htm# Support issue 6.7 number 4. Add the line below to the object and it worked.
Doc.SetInfo(0, "HostWebBrowser", "0");
This did the trick in both cases.
Just FYI, I think the ABCPdf 8.1 release addressed this issue.