Catastrophic failure

Catastrophic failure

Forum member · Jul 27, 2010
hi, I used Dynamic pdf viewer in following method,But it error saying Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)). Actually i want to know particular PDF document password protected or not. There for i decide to catch specific exception for that. Is there are any other way to do this one using your any component. DynamicPDFViewer aa = new DynamicPDFViewer(); aa.OpenFile(path, ""); Thanks.

Re: Catastrophic failure

Support · Jul 27, 2010
Hello, In order to use our Viewer control you will have to add the control to the windows/web form first. Without adding it to the form it is not possible to call any of its methods. Please make sure that you are adding the control to the form. It is not possible to know if the PDF is password protected by using our Viewer product. The Merger product will throw an exception when merging an encrypted PDF without providing a password. You may try catching that exception. Thanks, ceTe Software Support Team.