Runtime error in Viewer control

Runtime error in Viewer control

Forum member · Dec 21, 2009
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?

Re: Runtime error in Viewer control

Support · Dec 21, 2009
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 [^a|mailto:support@cete.com|Support Team^] so that they can look into it further. Thanks, ceTe Software Support Team.

Re: Runtime error in Viewer control

Forum member · Dec 23, 2009
This was a tricky configuration issue. Resolved. But thank you for quick reply.