faantastic
New Member
Trying to do the following conversion:\[code\]CType(Context.Handler, MyCustomHandler)\[/code\]But it is throwing following error.\[code\]Unable to cast object of type 'ASP.MyWebForm_aspx' to type 'MyCustomHandler'.\[/code\]Even both "Context.Handler" & "MyCustomHandler" are of type IHttpHandler.**MyCustomHandler implements IHttpHandler.Thanks.