Come dice giustamente MItaly quella linea produce un errore

System.NullReferenceException

sia con il 2003 che con il 2005 ...