web application and HttpContext, you cannot use it in design mode. Moreover, the path it refers to must be at or below the root of the IIS Application; it cannot be in a physical path that is outside of the web. That's what it looks like you have here.Put MyControl.xslt in the web root at the same level as the page that is using it, and map it with
Server.MapPath("MyControl.xslt").