The message from Solve isn't an error, it's just telling you what it did. If you use NSolve, you won't see that message. NDSolve needs the independent variable specified as the second argument.