Archive for May, 2010

How to get an instance of Microsoft.CommerceServer.Runtime.CommerceContext.Current

May 19, 2010 adglopez No comments

As a quick recap, once you created your Web Site from Visual Studio using the project template (see those links: and

Next step is to configure in the web.config the Commerce Server Membership Provider (

<authentication mode=”Forms” />
<membership defaultProvider=”UpmProvider”>
<add name=”UpmProvider” type=”Microsoft.CommerceServer.Runtime.Profiles.UpmMembershipProvider” />

And the last thing is to make sure you have set correctly IIS configuration, specially if you are using IIS 7 since it works different than previous versions you could face an execption like this:

“Event handlers can only be bound to HttpApplication events during IHttpModule initialization”

If so, check you not using an Application Pool running in Integrated Mode. It should be Classic. (why not another link :)

All this are my finding in order to get an instance of CommerceContext and the UpmMembershipProvider.

Hope some of this helps.


VN:F [1.9.11_1134]
Rating: 0.0/5 (0 votes cast)
Categories: Commerce Server, Development Tags:

Error installing Reactive Extensions: Please wait while the installer finishes determining your disk space requirements

May 10, 2010 adglopez 2 comments

Today I was trying to install Reactive Extensions for .NET (Rx) on my Virtual Machine and got this error:

Please wait while the installer finishes determining you disk space requirements.

Searching a bit I found solutions for similar situations with MSI installers, the workaround is using command line and msiexec (

Since in this case it is a .exe my solution was to run it from Windows PowerShell and it worked.

Here is a sample:

powershell C:\Users\Administrator\Desktop\Rx_Net35_SP1.exe

Hope this helps.

VN:F [1.9.11_1134]
Rating: 0.0/5 (0 votes cast)