Mentalray Start Up Error

I attempted to auto-load maya on startup from the plugins menu it would not do so so i attempted to load it from the plugins menu after maya started i got the following error :

"
file -f -new;
// Result: ./untitled //
docServer(1);
// mental ray for Maya 5
// mental ray for Maya: using startup file C:/Program Files/AliasWavefront/Maya5.0/mentalray/maya.rayrc
// mental ray for Maya: setup
// mental ray for Maya: initialize
// Error: (Mayatomr) //
// Error: (Mayatomr.Export) : failed to register command mrAddAttr //
// Error: (Mayatomr.Export) : failed to register command mrAddAttr //
// Error: No plug-ins loaded - "initializePlugin function failed". //

"

Any help would be greatly appreciated