I have a problem retrieving the ASP Request object in my VB.NET COM+ component
(See code below).

Dim lo_Request As HttpRequest
lo_Request = ContextUtil.GetNamedProperty("Request")

The GetNamedProperty returns an OBJECT type that generates 'Specified cast
is not valid' error message.

More Info:-
-------------
I have created a VB.NET COM+ component.

I have used regsvcs and gacutil to successfully install the component.

I have set IISIntrinsics(True) in my COM+ component.

My COM+ component uses <Assembly: ApplicationActivation(ActivationOption.Server)>


I am calling the component from a conventional ASP page (see below):-

<%

Set lo = Server.CreateObject("Test.clsTest")

ls = lo.s_GetRequestVariable("Testing")


Response.Write(ls)
Response.end


%>

What am I doing wrong?

Any help would be appreciated.

Thanks in advance.

Paul.