I got a error when I use the PDF converter in asp.net code, the error is generated from the code: PDFWeb.DriverInit(PDFPrinter)
And the message is like following:
System.InvalidCastException: QueryInterface for interface CDIntf.ICDIntf failed.
The PDF converter works ok in my .NET window application. Anyone has a clue about that? Thanks a lot.
WEI
error on using PDF Converter with asp.net
That is not the problem. I am trying to run your sample code TN08 on our windows 2000 server. I used your old version of PDF Converter and I also tried your lastest demo version. Both have the same problem. The codes can be successfully compiled. But just get that error at running.
And I also tried to set the directive <%@Page AspCompat="true"%> in the login.aspx and use the impersonate in web.config like: <identity impersonate="true" userName="administrator" password="abcd" />, still not work.
Thanks a lot.
And I also tried to set the directive <%@Page AspCompat="true"%> in the login.aspx and use the impersonate in web.config like: <identity impersonate="true" userName="administrator" password="abcd" />, still not work.
Thanks a lot.
QueryInterface for interface CDIntfEx.ICDIntfEx failed error
I also have the same problem. I installed the PDF converter demo version (TN08 - ASP.NET).
After selecting the file, I get this error when clicking on the print file button.
"QueryInterface for interface CDIntfEx.ICDIntfEx failed"
After selecting the file, I get this error when clicking on the print file button.
"QueryInterface for interface CDIntfEx.ICDIntfEx failed"
ASPNET user account
Hi Jose,
You mentioned the ASPNET user account having limited access. Wouldn't changing the account's permissions work?
You also said to use a different account. How can I do that?
You mentioned the ASPNET user account having limited access. Wouldn't changing the account's permissions work?
You also said to use a different account. How can I do that?
ASPNET Permissions
Ok, it works. But will this always be the case, assigning adminstrator permission to the ASPNET account to make the converter work? Any alternatives?
Also, when selecting a file from the PDFViewer, there is nothing displayed on the viewer control. I already enabled the "download ActiveX controls".
Also, when selecting a file from the PDFViewer, there is nothing displayed on the viewer control. I already enabled the "download ActiveX controls".