Persist ASPJpeg error when using ASP.NET

If you receive the following error:

BC30002: Type 'ASPJPEGLib.IASPJpeg' is not defined.

You need to import ASPJPEGLib namespace for example:

<%@ Import Namespace="ASPJPEGLib" %>