SetDevInfo Catastrophic failure error

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Frank2012
User
Posts: 3
Joined: Thu Feb 16, 2012 1:25 pm

SetDevInfo Catastrophic failure error

Post by Frank2012 »

Hi,

I'm using the PDFXchange ActiveX SDK control in a custom application (VB.Net, Framework 4.0) we made for our client. We also have bought PDFXChange viewer and it is installed on each client's computer (they wanted to use it as their main PDF application).

Everything works well with your control (great work for that!!) except from one computer which give me the error "Catastrophic failure" when I try to load/see a PDF document in the control in another form I'm calling, the error is about SetDevInfo (I've included a picture of the error).

Our application and the pdf control works on all other computers (so far) except that computer I'm having trouble with.

I tried so far:
- removing/installing again PDFXChangeViewer on that computer.
- doing the commands in CmdPromt as Administrator: PFXCview.exe /regserver and regsvr32 PDFXCviewAX.dll
- upgrading both PDFXChange viewer and PDFXCHange ActiveX SDK to version 2.5.201.
- new unsinstall and new install.
- doing again the commands in CmdPromt as Administrator (for both 32 bit and 64 bit versions): PFXCview.exe /regserver and regsvr32 PDFXCviewAX.dll

Nothing works so far for that computer.

The only thing that makes it works a little while is if I install the previous version, reboot the computer, start PdfXChange Viewer and do an update to version 2.5.201. Then, the control works but just until we do a log off. If we log off the session, the same issue is there again on our next login.

Did you heard about this issue and do you have a solution I can do to fix that?

I tried almost anything, read posts regarding SetDevInfo the forum here but I'm running dry on idea... any help would be appreciated.

Thanks.
:)
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: SetDevInfo Catastrophic failure error

Post by Stefan - PDF-XChange »

Hello Frank,

This is the first time I see this, and as you say it only happens on a given machine - could you share some more details for it (e.g. OS Version and service packs installed, is it a 64 bit one - as it seems from your description, etc.)

Also is there a chance of a hardware failure on that PC? Any other applications behaving unexpectedly, or anything else suspicious reported by the person using it daily?

Best,
Stefan
Frank2012
User
Posts: 3
Joined: Thu Feb 16, 2012 1:25 pm

Re: SetDevInfo Catastrophic failure error

Post by Frank2012 »

Hi,

The PC runs Windows 7 64 bit & with Service Pack 1 and is up to date for the updates.
Hardware is an Intel I5-2500K CPU with 8.00 GB of ram.
(I included a picture of those system details. If you need something else, feel free to ask me).

What is strange is that everything else works well on that PC (I've just checked again with the user to make sure). This is the only bug he's having.

Our application works for the other windows, only the window with the pdf control fail with the error I've supplied.

I can even open a PDF with PDFXChange viewer, this work well too.

Thanks,
Frank
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: SetDevInfo Catastrophic failure error

Post by Stefan - PDF-XChange »

Thanks for the details Frank,

We will now discuss this in the team and come back to you with any further questions or suggestions.

Best,
Stefan
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: SetDevInfo Catastrophic failure error

Post by Vasyl - PDF-XChange »

Hi, Frank.

As you say you have Windows 7 64 bit & with Service Pack 1. But you forgotten say about your application - it is x86 | x64 | AnyCPU ?

In the sdk-help we have:

"for 64-bit and 32-bit clients both:
PDFXCview.exe(64) /RegServer (the PDFXCview.tbl(32) should be in the same folder as PDFXCview.exe(64))
regsvr32 PDFXCviewAx.dll(32) /s
regsvr32 PDFXCviewAx.dll(64) /s"


So your app. folder must contain:
PDFXCview.exe // 64-bit
PDFXCviewAx.dll // 64-bit
resource.dat
and in subfolder (any name, 'x86' - for example):
/x86/PDFXCviewAx.dll // 32-bit
/x86/PDFXCview.tbl // 32-bit

If it's done - please create simple *.bat file your app. folder with:
PDFXCview.exe /RegServer
regsvr32 PDFXCviewAx.dll
regsvr32 x86\PDFXCviewAx.dll

-and run it for test...

Note: here I specified calling of regsvr32 without '-s' (silent) parameter - and this system utility will be able to show any error message.

But, in any case, our SDK-installer should install correctly all components, we will check it again..

HTH.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: SetDevInfo Catastrophic failure error

Post by Vasyl - PDF-XChange »

Then, the control works but just until we do a log off. If we log off the session, the same issue is there again on our next login.
May be you have installed any registry-cleaner or other similar program which cleans parts of system registry at re-logon?
It can be a reason for this problem...

And please give us the excact name of our SDK-installer which you have used.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Frank2012
User
Posts: 3
Joined: Thu Feb 16, 2012 1:25 pm

Re: SetDevInfo Catastrophic failure error

Post by Frank2012 »

Hi,

sorry for the delay.

Our application is in x86.

I used PDFXVwer.exe (version 2.5.201 and before, version 2.5.199).

I'll note the other advices you provided me.

I was suspecting more a Windows problem than a problem with your SDK but my boss and my client both wanted me to investigate more and follow all possible solutions.

With another person in charge, we decide to format and install the installation image on the faulty PC. That was it and the viewer control work fine now.

What happened is still a mystery but I suspect maybe some bad installations or a PC mishaps... who knows...

Thank you all for all your answer and your follow up, you have proven me again that your software & service are very good!

You can mark this as resolved, it is for me.

Thanks again and have a nice day!

Frank
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: SetDevInfo Catastrophic failure error

Post by Stefan - PDF-XChange »

Glad to hear that it's up and running in the end Frank!

Thanks for the kind words for our products and service, much appreciated!

Best,
Stefan