Microsoft KB Archive/912135

= FIX: The IPTV Poller service (IPTVPollerService.exe) may process records more than one time and may not process some records at all when you use the Connected Services Framework 2.5 together with Microsoft TV IPTV 1.0 =

Article ID: 912135

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft TV IPTV 1.01
 * Microsoft Connected Services Framework Server 2.5

-





SYMPTOMS
When you use the Microsoft Connected Services Framework 2.5 together with Microsoft TV IPTV 1.0, the IPTV Poller service (IPTVPollerService.exe) in the Connected Services Framework 2.5 may process records more than one time. Additionally, the IPTV Poller service may not process some records at all.

Note You expect the IPTV Poller service to process records exactly one time.



CAUSE
This problem occurs when one of the following conditions is true:
 * The IPTV Poller service requests records that are unread. However, some already-processed records are returned and then processed again.
 * The IPTV Poller service uses the ending timestamp of the last record of the last poll as the start time.

Note This technique assumes that all future records will have timestamps that are later than the ending timestamp of the last record of the last poll. However, sometimes this is not the case.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
This hotfix applies to the IPTV Poller service. We recommend that you follow these steps to apply this hotfix:  Stop the IPTV Poller service. Run the following command from the C:\Program Files\Microsoft CSF\BillingSBE\IPTVPoller\Bin folder:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\installutil /u /name=IPTVPollerService Microsoft.Csf.Sbe.Billing.VasAdapter.IPTVPollerService.exe

 Copy the new Microsoft.Csf.Sbe.Billing.VasAdapter.IPTVPollerService.exe file to the C:\Program Files\Microsoft CSF\BillingSBE\IPTVPoller\Bin folder.

Note Rename the original file before you copy the new file. Add the optional configuration values that are discussed later in this section to the bottom of the appSettings section of the IPTV Poller service App.config file. At a command prompt, run the following command:

iisreset

</li> At a command prompt, run the following command:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\installutil /name=IPTVPollerService Microsoft.Csf.Sbe.Billing.VasAdapter.IPTVPollerService.exe

</li> Start the IPTV Poller service.</li></ol>

This hotfix changes the behavior of the IPTV Poller service. After you apply this hotfix, the IPTV Poller service polls records by using a start time that is calculated by using the following expression:

[Timestamp of the last read record] - _N_ seconds - _M_ Minutes - _H_ Hours - _D_ Days

Note The minus sign (-) indicates subtraction. The timestamp is negatively offset by the value of the following expression:

_N_ seconds - _M_ Minutes - _H_ Hours - _D_ Days

The values in this expression are specified in the configuration file as the following:
 * The N value is specified as the StartTimeDecrementSeconds setting.
 * The M value is specified as the StartTimeDecrementMinutes setting.
 * The H value is specified as the StartTimeDecrementHours setting.
 * The D value is specified as the StartTimeDecrementDays setting.

For example, the N value is 3, the H value is 1, and the M and D values are 0. In this example, the start time is calculated by using the following expression:

01-01-2006 01:00:07 A.M. - 3 seconds - 0 minutes - 1 hour - 0 days

The result for the start time is 01-01-2006 00:00:04 A.M., four seconds past midnight on January 1, 2006.

These new configuration values are documented and discussed in the readme file that is included in this hotfix.

For more information, 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

Keywords: kbtshoot kbqfe kbprb kbhotfixserver KB912135

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.