nvidia settings nvidia settings was not installed. when i restarted shows error

I am using Geforce 8 series in ubuntu 9.10 32-bit
I have installed
Devdriver3.1_linux_32_256_40.run ,
cuda toolkit_3.1_linux_32_ubuntu9.10.run,
All drivers are installed successfully.
I have compiled and run the cuda example programs successfully
when i restarted computer and try to compile it compiles successfully but when i am try to run it shows error like like this

Error: API mismatch: the NVIDIA kernel module has version 71.86.04,
but this NVIDIA driver component has version 256.40. Please make
sure that the kernel module and all NVIDIA driver components
have the same version.

when I reinstallled Devdriver3.1_linux_32_256_40.run it runs sucessfully and screen resolution was changed
its seems to be nvidia settings was not saving .
if anyone know the solutions please tell me…