Problem with POS for .NET SDK

G

Guest

Hi there,
i installed POS for .NET SDK on a KIOSK machine. The problem that im getting
is it runs perfectly well with the simulator devices that are provided with
the sdk but even the sample application when run on the machine fails and
gives the following stack trace.

-------------------------------------------------------------------------------
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.ArgumentException: Version string
portion was too short or too long.
at System.Version..ctor(String version)
at Microsoft.PointOfService.Management.Explorer.ScanForLegacyObjects()
at Microsoft.PointOfService.Management.Explorer.Refresh()
at Microsoft.PointOfService.Management.Explorer..ctor()
--- End of inner exception stack trace ---
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder
binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName, Boolean
ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args,
CultureInfo culture, Object[] activationAttributes)
at Microsoft.PointOfService.PosExplorer.LoadExplorer()
at Microsoft.PointOfService.PosExplorer.Initialize(ISynchronizeInvoke
synchronizingObject)
at Microsoft.PointOfService.PosExplorer..ctor(ISynchronizeInvoke
synchronizingObject)
at TestCCONet.frmMain..ctor() in d:\backup\myprojects\pos
sdk\sdk\files\sdk\samples\sample application\source\frmmain.cs:line 250
System.ArgumentException: Version string portion was too short or too long.
at System.Version..ctor(String version)
at Microsoft.PointOfService.Management.Explorer.ScanForLegacyObjects()
at Microsoft.PointOfService.Management.Explorer.Refresh()
at Microsoft.PointOfService.Management.Explorer..ctor()
----------------------------------------------------------------------

The exception arises when the object of PosExplorer class is initialised
posExplorer = new PosExplorer(this);

All the devices are working absolutely fine with the diagnostic utils that
are provided.

Any help or advice where to start from would be highly appreciated
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top