The Certificate of Occupancy shall be issued to the owner, who shall be primarily responsible for any violation of this chapter where committed with his knowledge, but all persons who cause a violation or who do not comply with the provisions of this chapter shall be guilty of a violation hereof.