I've been using TeXMaker for a while now and it usually works fine. A couple of months ago i wrote my own class and style files, started to use them and it worked fine. I had placed the .cls and .sty files in the same directory as the .tex files that were using it.
The problem is that I've started to use the class and style in multiple places and thus wanted to move the .cls and .sty files to the C:\Program Files\MiKTeX 2.9\tex\latex\base directory so that I didn't have to copy them to every directory where they're used.
After doing this I get the error code
"! LaTeX Error: File `CV.cls' not found."
Any ideas on how to solve this?

