Runtime error in Viewer control

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Viewer (v1)  /  Re: Runtime error in Viewer control

DynamicPDF Viewer (v1) Forum

 Dec 21 2009 4:58 AM
Hello.

We have an application (.NET wrapper around DynamicPDF Viewer ActiveX) installed on several computers working just fine. But on some environments (Windows XP SP2, .NET 3.5) we have the following error in DynamicPDFViewerControl.ShowTitleBar(...) method.

Error message:
Number of parameters specified does not match the expected number.
Stack :    at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
   at ceTe.DynamicPDF.AxViewer._IPDFViewer.ShowTitleBar(Boolean bShow)
   at ceTe.DynamicPDF.AxViewer.Control.DynamicPDFViewerControl.ShowTitleBar(Boolean bShow)....

Assembly version information:
// Assembly ceTe.DynamicPDF.AxViewer.Control, Version 2.0.0.0
ceTe.DynamicPDF.AxViewer.Control, Version=2.0.0.0, Culture=neutral, PublicKeyToken=09b5ce0d5c0a9d8b

// Module ceTe.DynamicPDF.AxViewer.Control.dll
Version: ca17a95e-008c-4e13-84cb-7ecf60c90fa0

Note:
I browsed the Internet and found several posts reported the same problem with other ActiveX controls but no solutions. Any ideas on why could it happen or any possible workarounds?
 Dec 21 2009 5:37 AM
Posted by a ceTe Software moderator
Hello,

Can you please try using the latest build of our product downloading from our CustomerArea by logging in using your serial number? If you are evaluating then you can get the latest build from our website.

If you are still having a problem then please send over a sample code which can give error on XP SP2 and .NET 3.5 to our Support Team so that they can look into it further.

Thanks,
ceTe Software Support Team.
 Dec 23 2009 8:49 AM
This was a tricky configuration issue. Resolved. But thank you for quick reply.

All times are US Eastern Standard time. The time now is 8:55 PM.