I have a problem when i complete my transaction and execute objContext.setComplete. It gives an error message object variable with block variable not set. I am using COM+ in my business services and data services. I have written the sample code which i follow in my procedures.
Public Function ValidateUser(passingArgs)as RetArgs
On Error Goto ErrHandler
Dim objContext as COMSVCSLib.ObjectContext
Set objContext = GetObjectContext()
'Few Code Here
objContext.SetComplete '->> This Generates an Error
'After Successful completion of code when
'i use SetComplete it shows an Error Message that
'object variable with block variable not set.