! I can't find file `xkeyval'.
l.39 ...XKeyValLoaded\endinput\else\input xkeyval
Please type another input file name:
I checked my MiKTeX database, and "xkeyval.sty" was installed. So, I uninstalled it, reinstalled it, and I got the same error. Then I uninstalled it and ran the compiler (pdfLaTeX) hoping it would download it on the fly, which it started to do, but then couldn't finish for some reason. All my files and programs are up to date, and I didn't change anything in the structure.tex file for the master template. I'm finding a lot of these fancier templates use outdated packages, which makes compiling impossible. (Another template I liked called for the "SelfArx" package, which isn't even in the MiKTeX database.)
Any help would be appreciated. Thanks.