Can a landlord rent real estate to a business that the property is not zoned for?

Question Details: I have been on the same property for almost ten years with multiple landlords, to include 2 banks as well as several private individuals. Now I've been informed that I must vacate the property because the business is not zoned for that property. The business was located on the same site before I bought the business. The city has been by several times without mention of zoning issues over the years. The zoning has not been changed during my residency. It is a taxi company, something that cannot be hidden or obscured, licensed by the city to operate every year without issue. Now after paying rent for this month I have received a summons to appear in court regarding eviction for code violation. Is this legal or even ethical?

IMPORTANT NOTICE: The Answer(s) provided above are for general information only. The attorney providing the answer was not serving as the attorney for the person submitting the question or in any attorney-client relationship with such person. Laws may vary from state to state, and sometimes change. Tiny variations in the facts, or a fact not set forth in a question, often can change a legal outcome or an attorney's conclusion. Although has verified the attorney was admitted to practice law in at least one jurisdiction, he or she may not be authorized to practice law in the jurisdiction referred to in the question, nor is he or she necessarily experienced in the area of the law involved. Unlike the information in the Answer(s) above, upon which you should NOT rely, for personal advice you can rely upon we suggest you go to and retain an attorney to represent you.