SteveFairbairn
Programmer
Hi,
I have been trying to move some development code from a Windows NT server machine to a Windows 2000 machine, and find that my MTS DLLs are failing after the GetObjectContext. Whilst debugging this in VB, I find that the following code....
[tt]
Set oCtx = GetObjectContext
[/tt]
runs perfectly, with oCtx being set to an ObjectContext object, but as soon as I try to do the following....
[tt]
Set oResp = oCtx("Response"
Set oReq = oCtx("Request"
Set oApp = oCtx("Application"
Set oServ = oCtx("Server"
[/tt]
I hit ObjectRequired errors. A quick look at oCtx reveals that although it is a valid object, it's .Count is zero and so the object doesn't contain the above named entries. I can not work out why this is happening... Any help would be thoroughly appreciated.
Steve.
I have been trying to move some development code from a Windows NT server machine to a Windows 2000 machine, and find that my MTS DLLs are failing after the GetObjectContext. Whilst debugging this in VB, I find that the following code....
[tt]
Set oCtx = GetObjectContext
[/tt]
runs perfectly, with oCtx being set to an ObjectContext object, but as soon as I try to do the following....
[tt]
Set oResp = oCtx("Response"
Set oReq = oCtx("Request"
Set oApp = oCtx("Application"
Set oServ = oCtx("Server"
[/tt]
I hit ObjectRequired errors. A quick look at oCtx reveals that although it is a valid object, it's .Count is zero and so the object doesn't contain the above named entries. I can not work out why this is happening... Any help would be thoroughly appreciated.
Steve.