Actions against domestic corporations shall be brought only in the county where such corporation has, or usually keeps, an office for transaction of its customary business, where the cause of action accrued, or where the property in litigation is located. Actions against foreign corporations doing business in this state shall be brought in a county where such corporation has an agent or other representative, where the cause of action accrued, or where the property in litigation is located.

s. 24, ch. 1639, 1869; RS 1001; s. 1, ch. 5221, 1903; GS