MS SQL compatible issue

My one .NET application using MSSQL databse was installed and running fine on Vista but when i installed it in 64-bit Windows7 i could instal it in compatibility mode but when i run the application it returns with the message as “The version of this program is incompatible with the database version and requires updating”

Any help would be highly appreicated.

Not really much to go on here, would help to know what the program is, what version of sql server you were running and what version of sql server you are running now.