Problem with POS for NET 1.12 and .NET 4.0/4.5 - by Alexander Tyutik

Status : 

  External<br /><br />
		This item may be valid but belongs to an external system out of the direct control of this product team.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 774201 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 12/13/2012 2:03:29 AM
Access Restriction Public



I've installed pos for net 1.12 and fix kb2755802 on Windows 8 x64.

Than i took sample application from POS for .NET folder and compiled it under VS2012 - all worked fine.

But after i've changed target framework to .NET 4.0 (or .NET 4.5), i've got the exception on next line:

posExplorer = new PosExplorer(this);

Exception message: "Arithmetic operation resulted in an overflow."

Source: "Microsoft.PointOfService"

Stack trace:

   at Microsoft.PointOfService.PhysicalDeviceInfo.GetDevicePath(Guid InterfaceGuid)
   at Microsoft.PointOfService.PhysicalDeviceInfo.BuildDeviceList()
   at Microsoft.PointOfService.Management.Explorer.Refresh()
   at Microsoft.PointOfService.Management.Explorer..ctor()
   at Microsoft.PointOfService.Management.Explorer..cctor()
Sign in to post a comment.
Posted by alman asif on 9/6/2014 at 3:49 AM
Just add in app.config

    <NetFx40_LegacySecurityPolicy enabled="true"/>
Posted by ManlyBoy on 6/24/2013 at 5:58 PM
Are you guys going to officially drop POS for .Net or are we waiting in vain for this now well outdated product to be fixed.

If it ain't going to be fixed then do us the courtesy of putting us ut of our misery and start looking elsewhere for a supported library.

Thank you.
Posted by Bradley [MSFT] on 1/24/2013 at 11:38 AM
Hi Alexander,

Thank you for your feedback.

We are archiving this issue at this time.
Posted by Bradley [MSFT] on 1/14/2013 at 3:08 PM
Please review the following link to see if it helps with your issue,
POS for.Net is not supported on .Net 4.5 and/or Windows8 based operating systems at this time.
Q. Are you working on behalf of a company that has a license for a "Microsoft POS product" with Microsoft or an authorized OEM?
Posted by Alexander Tyutik on 1/10/2013 at 2:32 AM
Is it any news?
Posted by Microsoft on 12/18/2012 at 2:55 AM
Hi Alexander, thanks for your response, we have received your attachments.
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Alexander Tyutik on 12/14/2012 at 2:56 AM
Please, look at attached file First 2 zips are incorrect.

Now i played with configuration and found that this behavior associated with AnyCPU configuration. In x86 mode it maybe works (i don't know at his moment).
Posted by Microsoft on 12/14/2012 at 12:05 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting a sample application. Please submit this information to us within 4 business days. We look forward to hearing from you with this information.
Posted by Microsoft on 12/13/2012 at 2:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(