An application uses Microsoft Point of Service (POS) for .NET 1.12 to claim a device. In this case, applications that are running under a different user account cannot claim this device. When this problem occurs, POS for .NET 1.12 performs incorrect claim logic and incorrectly returns an ArgumentNullException exception. Additionally, successive attempts by the other user account to claim the device fail even after the device is released.
This problem does not occur if applications that claim the device are running under the same user account.
The ArgumentNullException exception is not the exception that corresponds to the failure that occurs. When this problem occurs, you expect the exception that corresponds to the failure to be returned.
This problem occurs because only one user account can access the global event that POS for .NET 1.12 uses. POS for .NET 1.12 uses global events to track the status of a device when a service object that uses a named event claims the device.
Note In POS for .NET 1.12, Basic device classes and Base device classes use named events. However, service objects that are based on Basic device classes can provide their own implementation to make sure that only one instance of the device is claimed at any time.
This update provides a security attribute when the global event is created. This security attribute lets multiple user accounts access the global event. If problems occur when an application claims a device, POS for .NET 1.12 performs correct claim logic and then returns exceptions that correspond to the failures that occur.
How to obtain this update
The following file is available for download from the Microsoft Download Center:
Download the update package now.
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
To apply this update, you must be running POS for .NET 1.12.
To apply this update, you do not have to make any changes to the registry.
You may have to restart the computer after you apply this update.
Update replacement information
This update does not replace a previously released update.
The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates