When setting up Reporting Services for SQL Server 2005 I ran into this error. The resolution was ultimately found in the thread described below - HTH.
http://www.developmentnow.com/g/115_2006_4_0_0_732993/Database-versipn-C-0-8-40-does-not-match.htm