FIX: Error message when you run a website that executes the Advertising pipeline on a server that is running Commerce Server 2007 or Commerce Server 2009: "HttpContext.Current is null"

Symptoms

When you run a website that executes the Advertising pipeline on a server that is running Microsoft Commerce Server 2007 or Microsoft Commerce Server 2009, you receive an error message that resembles the following:

HttpContext.Current is null from Commerce.CSFLoadHistory.1


Additionally, an event that resembles the following is logged in the Application log:


Cause

This problem occurs because the LoadHistory, SaveHistory, and IISAppendToLog components check ASP.NET context. However, it is not necessary for these components to check ASP.NET context, and in some scenarios, this check may cause issues. The Advertising pipeline includes these three components. Therefore, this problem occurs.

Resolution

To resolve this problem, apply this hotfix to the server that is running Commerce Server 2007 or Commerce Server 2009.

More information about this hotfix

Hotfix information

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

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You must have one of the following installed to apply this hotfix:

  • Microsoft Commerce Server 2007 Service Pack 2 (SP2)

  • Microsoft Commerce Server 2009



Restart information

You do not have to restart the computer after you apply this hotfix. However, you must restart Internet Information Services (IIS) after you apply this hotfix.

To restart IIS, at a command prompt, type the following command, and then press ENTER:

iisreset /restartNote This command stops and then restarts all IIS services that are running.


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 item in Control Panel.

For all supported x86-based versions of Commerce Server 2007

File name

File version

File size

Date

Time

Platform

Aspintrinsics.dll

6.0.4109.47

16,656

24-Aug-2010

13:46

x86

Csfcomp.dll

6.0.4109.47

281,352

24-Aug-2010

13:48

x86

For all supported x64-based versions of Commerce Server 2007

File name

File version

File size

Date

Time

Platform

Aspintrinsics.dll

6.0.4109.47

16,656

24-Aug-2010

13:46

x86

Csfcomp.dll

6.0.4109.47

281,352

24-Aug-2010

13:48

x86

Csfcomp.dll

6.0.4109.47

485,128

24-Aug-2010

13:48

x64

For all supported x86-based versions of Commerce Server 2009

File name

File version

File size

Date

Time

Platform

Aspintrinsics.dll

6.0.4171.28

16,656

31-Aug-2010

13:14

x86

Cs2009hotfixhelper.exe

6.0.4171.28

13,080

31-Aug-2010

13:14

x86

Csfcomp.dll

6.0.4171.28

281,352

31-Aug-2010

13:16

x86

For all supported x64-based versions of Commerce Server 2009

File name

File version

File size

Date

Time

Platform

Aspintrinsics.dll

6.0.4171.28

16,656

31-Aug-2010

13:14

x86

Cs2009hotfixhelper.exe

6.0.4171.28

13,080

31-Aug-2010

13:14

x86

Csfcomp.dll

6.0.4171.28

281,352

31-Aug-2010

13:16

x86

Csfcomp.dll

6.0.4171.28

485,128

31-Aug-2010

13:16

x64

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×