Public Sub OnStartPage(PassedScriptingContext As ScriptingContext)<BR> Set MyScriptingContext = PassedScriptingContext<BR> Set MyApplication = MyScriptingContext.Application<BR> Set Request = MyScriptingContext.Request<BR> Set Response = MyScriptingContext.Response<BR> Set Server = MyScriptingContext.Server<BR> Set MySession = MyScriptingContext.Session<BR>End Sub<BR><BR><BR>i am getting an error on this sub when i register the component where this sub is from with MTS but not when i register it with regsvr32.exe - why would this happen ? - i have tried adding the scriptingcontext component ( which appears as a componenent previously installed ) into the same package as my component but it still produces an error on this sub - <BR>any ideas appreciated thanks a lot ... ;)<BR><BR><BR>