Cuda 3.0 does not work when Cuda 5.0 installed

I used to use Cuda 3.0 to compile my code and it works just fine for a while.
But when I recently installed Cuda 5.0 to compile other project, I have problem to compile my previous project with Cuda 3.0.

The error says:
1>Command-line error: invalid error tag in diagnostic control option: host_device_limited_call
1>1 catastrophic error detected in this compilation.
1>Compilation terminated.
1>Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”

I do not know if there is any conflict between the two Cuda versions, if there is, could anyone tell me how to use Cuda 3.0 and Cuda 5.0 on the same machine?

Really appreciate your help.

Btw, in case someone asked, I checked the path information in vcproj and it looks correct to me.
We use Visual Studio 2008 to build the project.

one more input: after I remove Cuda 5.0, everything works fine now.