It seems, the problem is that hyperref redefines \contentsline, because it needs additional information. So you have to provide the extra argument. If I add the extra argument as shown below everything works fine with the hyperref package.
%\addtocontents{lof}{\protect\contentsline {part}% % {\protect\figurenameToC}{\protect\relax}{Figure}% %} Thanks for all your help. -Enrique >the following lines in the thesis.cls are the problem. if you could > >comment them out, all should work. hyperref can't handle such command > >structure. with these changes it worked for me and the changes are >only >for the toc, lof and lot and not important. > >Herbert > >% Adds the appropriate label to the ToC/LoF/LoT >%\addtocontents{lof}{\protect\contentsline {part}% >% {\protect\figurenameToC}{\protect\relax}% >%} >%\addtocontents{lot}{\protect\contentsline {part}% >% {\protect\tablenameToC}{\protect\relax}% >%} >%\addtocontents{toc}{\protect\contentsline {part}% >% {\protect\chapternameToC}{\protect\relax}% >%} > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp