Shear viscosity measurements were made as a function of temperature near the critical point and critical concentration for the binary system of nitrobenzene and n-heptane. The results above the critical temperature Tc were analyzed by the mode coupling theory and the Debye momentum cutoff was determined. The anomaly of viscosity was detected as a function of temperature and concentration.