Viral pinkeye is often caused by an adenovirus, which is a common respiratory virus that can also cause a sore throat or upper respiratory infection. The herpes virus can also cause viral pinkeye.