After running an application that uses pxcview.dll instead of AxInterop.PDFXCViewAxLib.Dll/ Interop.PDFXCviewAxLib.dll, the activeX program fails to run error: Method 'SetDevInfo' cannot be invoked at this time. pxcview.dll program has been stopped and will run when restarted.
Is there a way to fix this error so that the activeX program will run again?
Method 'SetDevInfo' cannot be invoked at this time.
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Method 'SetDevInfo' cannot be invoked at this time.
Hello nkm,
Could you please give us a bit more detailed description of your problem?
Which programs exactly you are trying to run?
Could you please give us a bit more detailed description of your problem?
Which programs exactly you are trying to run?
Re: Method 'SetDevInfo' cannot be invoked at this time.
C# dll methods. Sample use found in PDF-XChange V4 example applications.
1) FullDemo: Form1.cs
axCoPDFXCview1.SetDevInfo(bsKey, bsCode);
(AxInterop.AxPDFXCviewAxLib.dll)
2) PXCView36: PXCV_Lib.cs
[DllImport("pxcview")]
public static extern int PXCV_Init(out IntPtr hDoc, string Key, string DevCode);
Error occurred after program1 closed, program 2 run then closed, program 1 open. ie:
1: success
2: success
1: failure
2: success (currently using conversion without activex viewer component)
1) FullDemo: Form1.cs
axCoPDFXCview1.SetDevInfo(bsKey, bsCode);
(AxInterop.AxPDFXCviewAxLib.dll)
2) PXCView36: PXCV_Lib.cs
[DllImport("pxcview")]
public static extern int PXCV_Init(out IntPtr hDoc, string Key, string DevCode);
Error occurred after program1 closed, program 2 run then closed, program 1 open. ie:
1: success
2: success
1: failure
2: success (currently using conversion without activex viewer component)
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Method 'SetDevInfo' cannot be invoked at this time.
Hi,
I was unable to reproduce such problem with PDFViewerActiveXTestCS.exe and PXCView36_sample_csharp.exe. Try to fully reinstall PDF-XChange Viewer (uninstall first and then install latest version).
HTH.
I was unable to reproduce such problem with PDFViewerActiveXTestCS.exe and PXCView36_sample_csharp.exe. Try to fully reinstall PDF-XChange Viewer (uninstall first and then install latest version).
HTH.
Re: Method 'SetDevInfo' cannot be invoked at this time.
Thank you for looking into the issue Corwin.
The error occurred on a server that is "very buggy". I have been unable to reproduce the error with our in-house servers but was hoping your team had dealt with this issue in the past. It is probably an issue that is specific to the security settings on that machine.
I will reinstall PDF Viewer/ have the site reboot the server after operations are shut down for the weekend.
The error occurred on a server that is "very buggy". I have been unable to reproduce the error with our in-house servers but was hoping your team had dealt with this issue in the past. It is probably an issue that is specific to the security settings on that machine.
I will reinstall PDF Viewer/ have the site reboot the server after operations are shut down for the weekend.
- Paul - Tracker Supp
- Site Admin
- Posts: 6897
- Joined: Wed Mar 25, 2009 10:37 pm
- Location: Chemainus, Canada
- Contact:
Re: Method 'SetDevInfo' cannot be invoked at this time.
Hi nkm,
OK - do be sure to let us know what you find.
OK - do be sure to let us know what you find.
Best regards
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com